pub struct DefaultRuntime;
Expand description
Assumes no particular async runtime. Uses std::thread::sleep to sleep. Useful if using futures::executor::block_on() to run synchronously.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DefaultRuntime
impl RefUnwindSafe for DefaultRuntime
impl Send for DefaultRuntime
impl Sync for DefaultRuntime
impl Unpin for DefaultRuntime
impl UnwindSafe for DefaultRuntime
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