Struct minilz4::EncoderBuilder[][src]

pub struct EncoderBuilder { /* fields omitted */ }

Configuration builder for the Encoder structure.

Implementations

impl EncoderBuilder[src]

pub fn new() -> Self[src]

pub fn block_size(&mut self, block_size: BlockSize) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn block_mode(&mut self, block_mode: BlockMode) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn checksum(&mut self, checksum: ContentChecksum) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn level(&mut self, level: u32) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn auto_flush(&mut self, auto_flush: bool) -> &mut Self

Notable traits for &'_ mut W

impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
[src]

pub fn build<W: Write>(&self, writer: W) -> IOResult<Encoder<W>>[src]

pub fn encode<R: Read>(&self, reader: &mut R) -> IOResult<Vec<u8>>[src]

Trait Implementations

impl Clone for EncoderBuilder[src]

impl Copy for EncoderBuilder[src]

impl Default for EncoderBuilder[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.