[][src]Struct zstd::stream::raw::NoOp

pub struct NoOp;

Dummy operation that just copies its input to the output.

Trait Implementations

impl Operation for NoOp[src]

fn run_on_buffers(&mut self, input: &[u8], output: &mut [u8]) -> Result<Status>[src]

Performs a single step of this operation. Read more

fn flush(&mut self, output: &mut OutBuffer) -> Result<usize>[src]

Flushes any internal buffer, if any. Read more

fn reinit(&mut self) -> Result<()>[src]

Prepares the operation for a new frame. Read more

fn finish(
    &mut self,
    output: &mut OutBuffer,
    finished_frame: bool
) -> Result<usize>
[src]

Finishes the operation, writing any footer if necessary. Read more

Auto Trait Implementations

impl Unpin for NoOp

impl Send for NoOp

impl Sync for NoOp

impl RefUnwindSafe for NoOp

impl UnwindSafe for NoOp

Blanket Implementations

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.

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

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

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