pub enum EncoderOptions {
Num(u32),
Delta(DeltaOptions),
LZMA2(LZMA2Options),
BROTLI(BrotliOptions),
BZIP2(Bzip2Options),
DEFLATE(DeflateOptions),
LZ4(LZ4Options),
PPMD(PPMDOptions),
ZSTD(ZStandardOptions),
Aes(AesEncoderOptions),
}
Available on crate feature
compress
only.Variants§
Num(u32)
Delta(DeltaOptions)
LZMA2(LZMA2Options)
BROTLI(BrotliOptions)
Available on crate feature
brotli
only.BZIP2(Bzip2Options)
Available on crate feature
bzip2
only.DEFLATE(DeflateOptions)
Available on crate feature
deflate
only.LZ4(LZ4Options)
Available on crate feature
lz4
only.PPMD(PPMDOptions)
Available on crate feature
ppmd
only.ZSTD(ZStandardOptions)
Available on crate feature
zstd
only.Aes(AesEncoderOptions)
Available on crate feature
aes256
only.Implementations§
Source§impl EncoderOptions
impl EncoderOptions
pub fn get_lzma2_dict_size(&self) -> u32
Trait Implementations§
Source§impl Clone for EncoderOptions
impl Clone for EncoderOptions
Source§fn clone(&self) -> EncoderOptions
fn clone(&self) -> EncoderOptions
Returns a duplicate 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 EncoderOptions
impl Debug for EncoderOptions
Source§impl From<AesEncoderOptions> for EncoderOptions
impl From<AesEncoderOptions> for EncoderOptions
Source§fn from(value: AesEncoderOptions) -> Self
fn from(value: AesEncoderOptions) -> Self
Converts to this type from the input type.
Source§impl From<BrotliOptions> for EncoderOptions
impl From<BrotliOptions> for EncoderOptions
Source§fn from(o: BrotliOptions) -> Self
fn from(o: BrotliOptions) -> Self
Converts to this type from the input type.
Source§impl From<Bzip2Options> for EncoderOptions
impl From<Bzip2Options> for EncoderOptions
Source§fn from(o: Bzip2Options) -> Self
fn from(o: Bzip2Options) -> Self
Converts to this type from the input type.
Source§impl From<DeflateOptions> for EncoderOptions
impl From<DeflateOptions> for EncoderOptions
Source§fn from(o: DeflateOptions) -> Self
fn from(o: DeflateOptions) -> Self
Converts to this type from the input type.
Source§impl From<DeltaOptions> for EncoderOptions
impl From<DeltaOptions> for EncoderOptions
Source§fn from(o: DeltaOptions) -> Self
fn from(o: DeltaOptions) -> Self
Converts to this type from the input type.
Source§impl From<LZ4Options> for EncoderOptions
impl From<LZ4Options> for EncoderOptions
Source§fn from(o: LZ4Options) -> Self
fn from(o: LZ4Options) -> Self
Converts to this type from the input type.
Source§impl From<LZMA2Options> for EncoderOptions
impl From<LZMA2Options> for EncoderOptions
Source§fn from(o: LZMA2Options) -> Self
fn from(o: LZMA2Options) -> Self
Converts to this type from the input type.
Source§impl From<PPMDOptions> for EncoderOptions
impl From<PPMDOptions> for EncoderOptions
Source§fn from(o: PPMDOptions) -> Self
fn from(o: PPMDOptions) -> Self
Converts to this type from the input type.
Source§impl From<ZStandardOptions> for EncoderOptions
impl From<ZStandardOptions> for EncoderOptions
Source§fn from(o: ZStandardOptions) -> Self
fn from(o: ZStandardOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncoderOptions
impl RefUnwindSafe for EncoderOptions
impl Send for EncoderOptions
impl Sync for EncoderOptions
impl Unpin for EncoderOptions
impl UnwindSafe for EncoderOptions
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