Struct zstd::stream::raw::NoOp [−][src]
pub struct NoOp;
Dummy operation that just copies its input to the output.
Trait Implementations
impl Operation for NoOp
[src]
impl Operation for NoOp
[src]fn run(
&mut self,
input: &mut InBuffer<'_>,
output: &mut OutBuffer<'_>
) -> Result<usize>
[src]
&mut self,
input: &mut InBuffer<'_>,
output: &mut OutBuffer<'_>
) -> Result<usize>
fn run_on_buffers(&mut self, input: &[u8], output: &mut [u8]) -> Result<Status>
[src]
fn flush(&mut self, output: &mut OutBuffer<'_>) -> Result<usize>
[src]
fn reinit(&mut self) -> Result<()>
[src]
fn finish(
&mut self,
output: &mut OutBuffer<'_>,
finished_frame: bool
) -> Result<usize>
[src]
&mut self,
output: &mut OutBuffer<'_>,
finished_frame: bool
) -> Result<usize>