Struct q_compress::DecompressorConfig
source · #[non_exhaustive]pub struct DecompressorConfig {
pub numbers_limit_per_item: usize,
}
Expand description
All configurations available for a Decompressor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.numbers_limit_per_item: usize
The maximum number of numbers to decode at a time when streaming through the decompressor as an iterator.
Implementations§
source§impl DecompressorConfig
impl DecompressorConfig
sourcepub fn with_numbers_limit_per_item(self, limit: usize) -> Self
pub fn with_numbers_limit_per_item(self, limit: usize) -> Self
Sets numbers_limit_per_item
.
Trait Implementations§
source§impl Clone for DecompressorConfig
impl Clone for DecompressorConfig
source§fn clone(&self) -> DecompressorConfig
fn clone(&self) -> DecompressorConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecompressorConfig
impl Debug for DecompressorConfig
Auto Trait Implementations§
impl RefUnwindSafe for DecompressorConfig
impl Send for DecompressorConfig
impl Sync for DecompressorConfig
impl Unpin for DecompressorConfig
impl UnwindSafe for DecompressorConfig
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