Struct futures::compat::Executor01As03
source · [−]pub struct Executor01As03<Ex> { /* private fields */ }
Available on crate feature
compat
only.Trait Implementations
sourceimpl<Ex> Clone for Executor01As03<Ex>where
Ex: Clone,
impl<Ex> Clone for Executor01As03<Ex>where
Ex: Clone,
sourcefn clone(&self) -> Executor01As03<Ex>
fn clone(&self) -> Executor01As03<Ex>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Ex> Debug for Executor01As03<Ex>where
Ex: Debug,
impl<Ex> Debug for Executor01As03<Ex>where
Ex: Debug,
Auto Trait Implementations
impl<Ex> RefUnwindSafe for Executor01As03<Ex>where
Ex: RefUnwindSafe,
impl<Ex> Send for Executor01As03<Ex>where
Ex: Send,
impl<Ex> Sync for Executor01As03<Ex>where
Ex: Sync,
impl<Ex> Unpin for Executor01As03<Ex>where
Ex: Unpin,
impl<Ex> UnwindSafe for Executor01As03<Ex>where
Ex: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Sp> SpawnExt for Spwhere
Sp: Spawn + ?Sized,
impl<Sp> SpawnExt for Spwhere
Sp: Spawn + ?Sized,
sourcefn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>where
Fut: 'static + Future<Output = ()> + Send,
fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>where
Fut: 'static + Future<Output = ()> + Send,
Spawns a task that polls the given future with output
()
to
completion. Read moresourcefn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>where
Fut: 'static + Future + Send,
<Fut as Future>::Output: Send,
fn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>where
Fut: 'static + Future + Send,
<Fut as Future>::Output: Send,
Spawns a task that polls the given future to completion and returns a
future that resolves to the spawned future’s output. Read more