[][src]Struct zstd_safe::DDict

pub struct DDict<'a>(_, _);

Implementations

impl DDict<'static>[src]

pub fn create(dict_buffer: &[u8]) -> Self[src]

impl<'a> DDict<'a>[src]

pub fn sizeof(&self) -> usize[src]

pub fn create_by_reference(dict_buffer: &'a [u8]) -> Self[src]

Wraps the ZSTD_createDDict_byReference() function.

The dictionary will keep referencing dict_buffer.

pub fn get_dict_id(&self) -> u32[src]

Trait Implementations

impl<'a> Drop for DDict<'a>[src]

impl<'a> Send for DDict<'a>[src]

impl<'a> Sync for DDict<'a>[src]

Auto Trait Implementations

impl<'a> Unpin for DDict<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.