Struct futures::compat::Executor01As03
source · pub struct Executor01As03<Ex> { /* private fields */ }
Trait Implementations§
source§impl<Ex> Clone for Executor01As03<Ex>where
Ex: Clone,
impl<Ex> Clone for Executor01As03<Ex>where Ex: Clone,
source§fn clone(&self) -> Executor01As03<Ex>
fn clone(&self) -> Executor01As03<Ex>
Returns a copy 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<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§
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
source§impl<Sp> SpawnExt for Spwhere
Sp: Spawn + ?Sized,
impl<Sp> SpawnExt for Spwhere Sp: Spawn + ?Sized,
source§fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>where
Fut: Future<Output = ()> + Send + 'static,
fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError>where Fut: Future<Output = ()> + Send + 'static,
Spawns a task that polls the given future with output
()
to
completion. Read moresource§fn spawn_with_handle<Fut>(
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>where
Fut: Future + Send + 'static,
<Fut as Future>::Output: Send,
fn spawn_with_handle<Fut>( &self, future: Fut ) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError>where Fut: Future + Send + 'static, <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