pub struct NaiveRuntime;
Available on crate feature
naive-runtime
only.Expand description
An AsyncRuntime
implementation backed by the executor in the
futures_executor
crate.
This runtime should not be used when performance is a concern, as it makes heavy use of threads to compensate for the lack of a timer in the futures executor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NaiveRuntime
impl RefUnwindSafe for NaiveRuntime
impl Send for NaiveRuntime
impl Sync for NaiveRuntime
impl Unpin for NaiveRuntime
impl UnwindSafe for NaiveRuntime
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