Struct DDict
pub struct DDict<'a>(/* private field */, /* private field */);
A digested decompression dictionary.
Implementations
impl DDict<'static>
fn create(dict_buffer: &[u8]) -> Selffn try_create(dict_buffer: &[u8]) -> Option<Self>
impl<'a> DDict<'a>
fn sizeof(&self) -> usizefn get_dict_id(&self) -> Option<NonZeroU32>Returns the dictionary ID for this dict.
Returns
Noneif this dictionary is empty or invalid.
Trait Implementations
impl<'a> Drop for DDict<'a>
fn drop(&mut self)
impl<'a> Send for DDict<'a>
impl<'a> Sync for DDict<'a>
Auto Trait Implementations
impl<'a> Freeze for DDict<'a>
impl<'a> RefUnwindSafe for DDict<'a>
impl<'a> Unpin for DDict<'a>
impl<'a> UnsafeUnpin for DDict<'a>
impl<'a> UnwindSafe for DDict<'a>
Blanket Implementations
impl<T> Any for DDict<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for DDict<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for DDict<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for DDict<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for DDict<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for DDict<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for DDict<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>