pub enum DataChunkEncoding {
Raw,
Zlib,
Bzip2,
PatternFill(u64),
}Expand description
Encoding used for a data chunk payload.
Variants§
Raw
Uncompressed chunk data.
Zlib
zlib-compressed chunk data.
Bzip2
BZip2-compressed chunk data.
PatternFill(u64)
Pattern-fill chunk data with the repeated pattern value.
Trait Implementations§
Source§impl Clone for DataChunkEncoding
impl Clone for DataChunkEncoding
Source§fn clone(&self) -> DataChunkEncoding
fn clone(&self) -> DataChunkEncoding
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 DataChunkEncoding
Source§impl Debug for DataChunkEncoding
impl Debug for DataChunkEncoding
impl Eq for DataChunkEncoding
Source§impl PartialEq for DataChunkEncoding
impl PartialEq for DataChunkEncoding
impl StructuralPartialEq for DataChunkEncoding
Auto Trait Implementations§
impl Freeze for DataChunkEncoding
impl RefUnwindSafe for DataChunkEncoding
impl Send for DataChunkEncoding
impl Sync for DataChunkEncoding
impl Unpin for DataChunkEncoding
impl UnsafeUnpin for DataChunkEncoding
impl UnwindSafe for DataChunkEncoding
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.