pub struct EncoderMethod(/* private fields */);
Expand description
Encoder method that can be chained (filter, compression and encryption).
Implementations§
Source§impl EncoderMethod
impl EncoderMethod
pub const ID_COPY: &'static [u8]
pub const ID_DELTA: &'static [u8]
pub const ID_LZMA: &'static [u8]
pub const ID_BCJ_X86: &'static [u8]
pub const ID_BCJ2: &'static [u8]
pub const ID_BCJ_PPC: &'static [u8]
pub const ID_BCJ_IA64: &'static [u8]
pub const ID_BCJ_ARM: &'static [u8]
pub const ID_BCJ_ARM64: &'static [u8]
pub const ID_BCJ_ARM_THUMB: &'static [u8]
pub const ID_BCJ_SPARC: &'static [u8]
pub const ID_PPMD: &'static [u8]
pub const ID_LZMA2: &'static [u8]
pub const ID_BZIP2: &'static [u8]
pub const ID_ZSTD: &'static [u8]
pub const ID_BROTLI: &'static [u8]
pub const ID_LZ4: &'static [u8]
pub const ID_LZS: &'static [u8]
pub const ID_LIZARD: &'static [u8]
pub const ID_DEFLATE: &'static [u8]
pub const ID_DEFLATE64: &'static [u8]
pub const ID_AES256SHA256: &'static [u8]
pub const COPY: Self
pub const LZMA: Self
pub const LZMA2: Self
pub const PPMD: Self
pub const BZIP2: Self
pub const ZSTD: Self
pub const BROTLI: Self
pub const LZ4: Self
pub const LZS: Self
pub const LIZARD: Self
pub const DEFLATE: Self
pub const DEFLATE64: Self
pub const AES256SHA256: Self
pub const BCJ_X86_FILTER: Self
pub const BCJ_PPC_FILTER: Self
pub const BCJ_IA64_FILTER: Self
pub const BCJ_ARM_FILTER: Self
pub const BCJ_ARM64_FILTER: Self
pub const BCJ_ARM_THUMB_FILTER: Self
pub const BCJ_SPARC_FILTER: Self
pub const DELTA_FILTER: Self
pub const BCJ2_FILTER: Self
pub const fn name(&self) -> &'static str
pub const fn id(&self) -> &'static [u8] ⓘ
pub fn by_id(id: &[u8]) -> Option<Self>
Trait Implementations§
Source§impl Clone for EncoderMethod
impl Clone for EncoderMethod
Source§fn clone(&self) -> EncoderMethod
fn clone(&self) -> EncoderMethod
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 EncoderMethod
impl Debug for EncoderMethod
Source§impl Default for EncoderMethod
impl Default for EncoderMethod
Source§fn default() -> EncoderMethod
fn default() -> EncoderMethod
Returns the “default value” for a type. Read more
Source§impl From<EncoderMethod> for EncoderConfiguration
impl From<EncoderMethod> for EncoderConfiguration
Source§fn from(value: EncoderMethod) -> Self
fn from(value: EncoderMethod) -> Self
Converts to this type from the input type.
Source§impl Hash for EncoderMethod
impl Hash for EncoderMethod
Source§impl PartialEq for EncoderMethod
impl PartialEq for EncoderMethod
impl Copy for EncoderMethod
impl Eq for EncoderMethod
impl StructuralPartialEq for EncoderMethod
Auto Trait Implementations§
impl Freeze for EncoderMethod
impl RefUnwindSafe for EncoderMethod
impl Send for EncoderMethod
impl Sync for EncoderMethod
impl Unpin for EncoderMethod
impl UnwindSafe for EncoderMethod
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