pub struct CurrentRuntime { /* private fields */ }Expand description
An executor wrapper that spawns on the current runtime.
This is a convenience type that captures the current runtime handle at construction time.
Implementations§
Trait Implementations§
Source§impl Clone for CurrentRuntime
impl Clone for CurrentRuntime
Source§fn clone(&self) -> CurrentRuntime
fn clone(&self) -> CurrentRuntime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CurrentRuntime
impl Default for CurrentRuntime
Auto Trait Implementations§
impl Freeze for CurrentRuntime
impl RefUnwindSafe for CurrentRuntime
impl Send for CurrentRuntime
impl Sync for CurrentRuntime
impl Unpin for CurrentRuntime
impl UnsafeUnpin for CurrentRuntime
impl UnwindSafe for CurrentRuntime
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