pub struct NoopDefer;Expand description
Drops deferred futures with a warning. Used when no runtime defer is available; tests that assert on deferred work supply their own.
Trait Implementations§
impl Copy for NoopDefer
Auto Trait Implementations§
impl Freeze for NoopDefer
impl RefUnwindSafe for NoopDefer
impl Send for NoopDefer
impl Sync for NoopDefer
impl Unpin for NoopDefer
impl UnsafeUnpin for NoopDefer
impl UnwindSafe for NoopDefer
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