Enum DataFormat
enum DataFormat
How compressed data is wrapped.
Variants
-
Zlib Wrapped using the zlib format.
-
ZLibIgnoreChecksum Zlib wrapped but ignore and don't compute the adler32 checksum. Currently only used for inflate, behaves the same as Zlib for compression.
-
Raw Raw DEFLATE.
Implementations
impl DataFormat
fn from_window_bits(window_bits: i32) -> DataFormatfn to_window_bits(self: Self) -> i32
impl Clone for DataFormat
fn clone(self: &Self) -> DataFormat
impl Copy for DataFormat
impl Debug for DataFormat
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for DataFormat
impl Freeze for DataFormat
impl Hash for DataFormat
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for DataFormat
fn eq(self: &Self, other: &DataFormat) -> bool
impl RefUnwindSafe for DataFormat
impl Send for DataFormat
impl StructuralPartialEq for DataFormat
impl Sync for DataFormat
impl Unpin for DataFormat
impl UnsafeUnpin for DataFormat
impl UnwindSafe for DataFormat
impl<T> Any for DataFormat
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for DataFormat
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for DataFormat
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for DataFormat
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for DataFormat
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for DataFormat
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for DataFormat
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for DataFormat
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for DataFormat
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>