pub struct DefaultExecutor;
Expand description
A default executor that uses the global and local executors.
This executor delegates to the global executor for Send
futures
and the local executor for non-Send
futures.
Trait Implementations§
Source§impl Clone for DefaultExecutor
impl Clone for DefaultExecutor
Source§fn clone(&self) -> DefaultExecutor
fn clone(&self) -> DefaultExecutor
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 Debug for DefaultExecutor
impl Debug for DefaultExecutor
Source§impl Executor for DefaultExecutor
impl Executor for DefaultExecutor
Source§impl LocalExecutor for DefaultExecutor
impl LocalExecutor for DefaultExecutor
impl Copy for DefaultExecutor
Auto Trait Implementations§
impl Freeze for DefaultExecutor
impl RefUnwindSafe for DefaultExecutor
impl Send for DefaultExecutor
impl Sync for DefaultExecutor
impl Unpin for DefaultExecutor
impl UnwindSafe for DefaultExecutor
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