pub struct InertDispatcher;Expand description
A dispatcher for tests, which pump the application by hand: it never wakes the application, and work runs at once on the calling thread, so its result is there at the next checkpoint.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InertDispatcher
impl RefUnwindSafe for InertDispatcher
impl Send for InertDispatcher
impl Sync for InertDispatcher
impl Unpin for InertDispatcher
impl UnsafeUnpin for InertDispatcher
impl UnwindSafe for InertDispatcher
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