brotli::enc::interface

Trait Unfreezable

source
pub trait Unfreezable {
    // Required methods
    fn thaw<'a>(&self, data: &'a [u8]) -> InputReference<'a>;
    fn thaw_mut<'a>(&self, data: &'a mut [u8]) -> InputReferenceMut<'a>;
    fn thaw_pair<'a>(
        &self,
        pair: &InputPair<'a>,
    ) -> Result<InputReference<'a>, ()>;
}

Required Methods§

source

fn thaw<'a>(&self, data: &'a [u8]) -> InputReference<'a>

source

fn thaw_mut<'a>(&self, data: &'a mut [u8]) -> InputReferenceMut<'a>

source

fn thaw_pair<'a>(&self, pair: &InputPair<'a>) -> Result<InputReference<'a>, ()>

Implementors§