pub struct NeverInterrupts;
Expand description
A convenience implementation, should only be used in tests.
Trait Implementations§
source§impl Interruptee for NeverInterrupts
impl Interruptee for NeverInterrupts
fn was_interrupted(&self) -> bool
fn err_if_interrupted(&self) -> Result<(), Interrupted>
Auto Trait Implementations§
impl Freeze for NeverInterrupts
impl RefUnwindSafe for NeverInterrupts
impl Send for NeverInterrupts
impl Sync for NeverInterrupts
impl Unpin for NeverInterrupts
impl UnwindSafe for NeverInterrupts
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