Struct bitbox_api::runtime::DefaultRuntime
source · 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 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