Enum fog_pack::schema::Compress [−][src]
pub enum Compress {
None,
General {
algorithm: u8,
level: u8,
},
Dict(Dictionary),
}Expand description
Compression settings for Documents and Entries.
Variants
Don’t compress by default.
Compress using the given algorithm identifier and compression level.
Compress using the provided dictionary object
Tuple Fields of Dict
0: DictionaryImplementations
Create a new general Zstd Compression setting.
Create a new ZStandard dictionary with the given compression level.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Compress
impl UnwindSafe for Compress
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self