pub struct NoOp;
Expand description
Dummy operation that just copies its input to the output.
Trait Implementations§
source§impl Operation for NoOp
impl Operation for NoOp
source§fn 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
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more