pub struct NoOp;
Expand description
Dummy operation that just copies its input to the output.
Trait Implementations
sourceimpl Operation for NoOp
impl Operation for NoOp
sourcefn run<C: WriteBuf + ?Sized>(
&mut self,
input: &mut InBuffer<'_>,
output: &mut OutBuffer<'_, C>
) -> Result<usize>
fn run<C: WriteBuf + ?Sized>(
&mut self,
input: &mut InBuffer<'_>,
output: &mut OutBuffer<'_, C>
) -> Result<usize>
Performs a single step of this operation. Read more
sourcefn run_on_buffers(&mut self, input: &[u8], output: &mut [u8]) -> Result<Status>
fn run_on_buffers(&mut self, input: &[u8], output: &mut [u8]) -> Result<Status>
Performs a single step of this operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoOp
impl Send for NoOp
impl Sync for NoOp
impl Unpin for NoOp
impl UnwindSafe for NoOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more