Trait async_ffi::FutureExt[][src]

pub trait FutureExt: Future + Sized + 'static {
    fn into_ffi(self) -> FfiFuture<Self::Output>

Notable traits for FfiFuture<T>

impl<T> Future for FfiFuture<T> type Output = T;

    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>

Notable traits for FfiFuture<T>

impl<T> Future for FfiFuture<T> type Output = T;
where
    Self: Send
[src]

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]

Convert a Rust Future into a FFI-compatible LocalFfiFuture.

Loading content...

Implementors

impl<F> FutureExt for F where
    F: Future + Sized + 'static, 
[src]

Loading content...