Struct futures::compat::Executor01As03
source · [−]pub struct Executor01As03<Ex> { /* private fields */ }
Trait Implementations
sourceimpl<Ex> Clone for Executor01As03<Ex> where
Ex: Clone,
impl<Ex> Clone for Executor01As03<Ex> where
Ex: Clone,
sourcepub fn clone(&self) -> Executor01As03<Ex>
pub fn clone(&self) -> Executor01As03<Ex>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Sp> SpawnExt for Sp where
Sp: Spawn + ?Sized,
impl<Sp> SpawnExt for Sp where
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 more
sourcefn 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more