pub struct UnknownRuntime;Expand description
Unknown async runtime
Tries to implement runtime features using generic futures code. It’s better to use runtime-specific implementation.
Trait Implementations§
Source§impl AsyncRuntime for UnknownRuntime
impl AsyncRuntime for UnknownRuntime
Source§type YieldNowFuture = YieldNow
type YieldNowFuture = YieldNow
Future type returned by yield_now
Source§fn yield_now(&self) -> Self::YieldNowFuture
fn yield_now(&self) -> Self::YieldNowFuture
Yields the execution back to the runtime Read more
Source§impl Debug for UnknownRuntime
impl Debug for UnknownRuntime
Source§impl Default for UnknownRuntime
impl Default for UnknownRuntime
Source§fn default() -> UnknownRuntime
fn default() -> UnknownRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnknownRuntime
impl RefUnwindSafe for UnknownRuntime
impl Send for UnknownRuntime
impl Sync for UnknownRuntime
impl Unpin for UnknownRuntime
impl UnwindSafe for UnknownRuntime
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