Struct futures::compat::Executor01As03 [−][src]
Trait Implementations
impl<Ex> Clone for Executor01As03<Ex> where
Ex: Clone,
[src]
Ex: Clone,
pub fn clone(&self) -> Executor01As03<Ex>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Ex> Debug for Executor01As03<Ex> where
Ex: Debug,
[src]
Ex: Debug,
impl<Ex> Spawn for Executor01As03<Ex> where
Ex: Executor<Compat<UnitError<FutureObj<'static, ()>>>> + Clone + Send + 'static,
[src]
Ex: Executor<Compat<UnitError<FutureObj<'static, ()>>>> + Clone + Send + 'static,
Auto Trait Implementations
impl<Ex> RefUnwindSafe for Executor01As03<Ex> where
Ex: RefUnwindSafe,
Ex: RefUnwindSafe,
impl<Ex> Send for Executor01As03<Ex> where
Ex: Send,
Ex: Send,
impl<Ex> Sync for Executor01As03<Ex> where
Ex: Sync,
Ex: Sync,
impl<Ex> Unpin for Executor01As03<Ex> where
Ex: Unpin,
Ex: Unpin,
impl<Ex> UnwindSafe for Executor01As03<Ex> where
Ex: UnwindSafe,
Ex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Sp> SpawnExt for Sp where
Sp: Spawn + ?Sized,
[src]
Sp: Spawn + ?Sized,
pub fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError> where
Fut: Future<Output = ()> + Send + 'static,
[src]
Fut: Future<Output = ()> + Send + 'static,
pub 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,
[src]
&self,
future: Fut
) -> Result<RemoteHandle<<Fut as Future>::Output>, SpawnError> where
Fut: Future + Send + 'static,
<Fut as Future>::Output: Send,
pub fn compat(self) -> Compat<Self>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,