pub struct StreamLimits {
pub row_count: u64,
pub cell_count: u64,
pub row_xml_bytes: u64,
pub output_bytes: u64,
pub config_count: u64,
pub config_bytes: u64,
}Expand description
Finite limits for one streamed-sheet construction operation.
Fields§
§row_count: u64Maximum occupied rows accepted by the writer.
cell_count: u64Maximum cell slots accepted by the writer.
row_xml_bytes: u64Maximum serialized bytes in one row XML fragment.
output_bytes: u64Maximum serialized bytes across all row XML fragments.
config_count: u64Maximum distinct column, merge, and pane configuration entries.
config_bytes: u64Maximum retained bytes used by stream configuration.
Implementations§
Source§impl StreamLimits
impl StreamLimits
Sourcepub const fn hard_ceiling() -> StreamLimits
pub const fn hard_ceiling() -> StreamLimits
Largest supported finite values. These ceilings cannot be disabled.
Sourcepub fn validate(self) -> Result<StreamLimits, Error>
pub fn validate(self) -> Result<StreamLimits, Error>
Validates the limits against the non-overridable hard ceilings.
Trait Implementations§
Source§impl Clone for StreamLimits
impl Clone for StreamLimits
Source§fn clone(&self) -> StreamLimits
fn clone(&self) -> StreamLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamLimits
Source§impl Debug for StreamLimits
impl Debug for StreamLimits
Source§impl Default for StreamLimits
impl Default for StreamLimits
Source§fn default() -> StreamLimits
fn default() -> StreamLimits
Returns the “default value” for a type. Read more
impl Eq for StreamLimits
Source§impl PartialEq for StreamLimits
impl PartialEq for StreamLimits
impl StructuralPartialEq for StreamLimits
Auto Trait Implementations§
impl Freeze for StreamLimits
impl RefUnwindSafe for StreamLimits
impl Send for StreamLimits
impl Sync for StreamLimits
impl Unpin for StreamLimits
impl UnsafeUnpin for StreamLimits
impl UnwindSafe for StreamLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.