pub enum Chunking {
Fixed(usize),
ContentDefined(CdcConfig),
}Expand description
How streamed content is split into blocks.
Variants§
Fixed(usize)
Blocks of exactly this many bytes. Only the last block of a file may be shorter. The size must be between 1 byte and the default reader limit for one decoded block.
ContentDefined(CdcConfig)
FastCDC boundaries chosen from the content, so shifted content can still deduplicate.
Implementations§
Trait Implementations§
impl Copy for Chunking
impl Eq for Chunking
impl StructuralPartialEq for Chunking
Auto Trait Implementations§
impl Freeze for Chunking
impl RefUnwindSafe for Chunking
impl Send for Chunking
impl Sync for Chunking
impl Unpin for Chunking
impl UnsafeUnpin for Chunking
impl UnwindSafe for Chunking
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.