[][src]Struct brotli::enc::writer::CompressorWriter

pub struct CompressorWriter<W: Write>(_);

Methods

impl<W: Write> CompressorWriter<W>[src]

pub fn new(w: W, buffer_size: usize, q: u32, lgwin: u32) -> Self[src]

pub fn with_params(
    w: W,
    buffer_size: usize,
    params: &BrotliEncoderParams
) -> Self
[src]

pub fn get_ref(&self) -> &W[src]

pub fn into_inner(self) -> W[src]

Trait Implementations

impl<W: Write> Write for CompressorWriter<W>[src]

Auto Trait Implementations

impl<W> !RefUnwindSafe for CompressorWriter<W>

impl<W> Send for CompressorWriter<W> where
    W: Send

impl<W> Sync for CompressorWriter<W> where
    W: Sync

impl<W> Unpin for CompressorWriter<W> where
    W: Unpin

impl<W> !UnwindSafe for CompressorWriter<W>

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.