Trait async_ffi::FutureExt [−][src]
pub trait FutureExt: Future + Sized + 'static { fn into_ffi(self) -> FfiFuture<Self::Output>ⓘ
where
Self: Send, { ... } fn into_local_ffi(self) -> LocalFfiFuture<Self::Output>ⓘ{ ... } }Notable traits for LocalFfiFuture<T>
impl<T> Future for LocalFfiFuture<T> type Output = T;
Helper trait to provide conversion from Future
to FfiFuture
or LocalFfiFuture
.
See module level documentation for more details.
Provided methods
fn into_ffi(self) -> FfiFuture<Self::Output>ⓘ where
Self: Send,
[src]
Self: Send,
Convert a Rust Future
implementing Send
into a FFI-compatible FfiFuture
.
fn into_local_ffi(self) -> LocalFfiFuture<Self::Output>ⓘNotable traits for LocalFfiFuture<T>
impl<T> Future for LocalFfiFuture<T> type Output = T;
[src]
Notable traits for LocalFfiFuture<T>
impl<T> Future for LocalFfiFuture<T> type Output = T;
Convert a Rust Future
into a FFI-compatible LocalFfiFuture
.