pub enum DictContentType {
Auto,
RawContent,
FullDict,
}Expand description
How zstd reads the bytes of a dictionary.
Variants§
Auto
A dictionary in zstd’s format if the bytes start with its magic number, raw content otherwise.
RawContent
Raw content, even if the bytes start with the dictionary magic number.
FullDict
A dictionary in zstd’s format: anything else is an error.
Trait Implementations§
Source§impl Clone for DictContentType
impl Clone for DictContentType
impl Copy for DictContentType
Source§impl Debug for DictContentType
impl Debug for DictContentType
impl Eq for DictContentType
Source§impl PartialEq for DictContentType
impl PartialEq for DictContentType
impl StructuralPartialEq for DictContentType
Auto Trait Implementations§
impl Forget for DictContentType
impl Freeze for DictContentType
impl Move for DictContentType
impl RefUnwindSafe for DictContentType
impl Send for DictContentType
impl Sync for DictContentType
impl Unpin for DictContentType
impl UnsafeUnpin for DictContentType
impl UnwindSafe for DictContentType
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