Trait async_compat::CompatExt
source · [−]pub trait CompatExt {
fn compat(self) -> Compat<Self>ⓘNotable traits for Compat<T>impl<T: Future> Future for Compat<T> type Output = T::Output;
where
Self: Sized;
fn compat_ref(&self) -> Compat<&Self>ⓘNotable traits for Compat<T>impl<T: Future> Future for Compat<T> type Output = T::Output;
;
fn compat_mut(&mut self) -> Compat<&mut Self>ⓘNotable traits for Compat<T>impl<T: Future> Future for Compat<T> type Output = T::Output;
;
}
Expand description
Applies the Compat
adapter to futures and I/O types.