Struct NoOp
struct NoOp
Dummy operation that just copies its input to the output.
Implementations
impl Freeze for NoOp
impl Operation for NoOp
fn run<C: WriteBuf + ?Sized>(self: &mut Self, input: &mut InBuffer<'_>, output: &mut OutBuffer<'_, C>) -> Result<usize>
impl RefUnwindSafe for NoOp
impl Send for NoOp
impl Sync for NoOp
impl Unpin for NoOp
impl UnsafeUnpin for NoOp
impl UnwindSafe for NoOp
impl<T> Any for NoOp
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for NoOp
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for NoOp
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for NoOp
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for NoOp
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for NoOp
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for NoOp
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>