pub struct Nop;Expand description
A no-op request useful for smoke tests and synchronization.
use wireshift::{Ring, RingConfig, ops::Nop};
let ring = Ring::new(RingConfig::default())?;
ring.submit(Nop)?.wait(None)?;Trait Implementations§
impl Copy for Nop
Auto Trait Implementations§
impl Freeze for Nop
impl RefUnwindSafe for Nop
impl Send for Nop
impl Sync for Nop
impl Unpin for Nop
impl UnsafeUnpin for Nop
impl UnwindSafe for Nop
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