Struct async_ffi::BorrowingFfiFuture [−][src]
#[repr(transparent)]pub struct BorrowingFfiFuture<'a, T>(_);
Expand description
The FFI compatible future type with Send
bound.
See module level documentation for more details.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for BorrowingFfiFuture<'a, T>
impl<'a, T> !Sync for BorrowingFfiFuture<'a, T>
impl<'a, T> Unpin for BorrowingFfiFuture<'a, T>
impl<'a, T> UnwindSafe for BorrowingFfiFuture<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
fn into_ffi<'a>(self) -> BorrowingFfiFuture<'a, Self::Output>ⓘNotable traits for BorrowingFfiFuture<'_, T>impl<T> Future for BorrowingFfiFuture<'_, T> type Output = T;
where
Self: Send + 'a,
fn into_ffi<'a>(self) -> BorrowingFfiFuture<'a, Self::Output>ⓘNotable traits for BorrowingFfiFuture<'_, T>impl<T> Future for BorrowingFfiFuture<'_, T> type Output = T;
where
Self: Send + 'a,
Notable traits for BorrowingFfiFuture<'_, T>
impl<T> Future for BorrowingFfiFuture<'_, T> type Output = T;
Convert a Rust Future
implementing Send
into a FFI-compatible FfiFuture
.
fn into_local_ffi<'a>(self) -> LocalBorrowingFfiFuture<'a, Self::Output>ⓘNotable traits for LocalBorrowingFfiFuture<'_, T>impl<T> Future for LocalBorrowingFfiFuture<'_, T> type Output = T;
where
Self: 'a,
fn into_local_ffi<'a>(self) -> LocalBorrowingFfiFuture<'a, Self::Output>ⓘNotable traits for LocalBorrowingFfiFuture<'_, T>impl<T> Future for LocalBorrowingFfiFuture<'_, T> type Output = T;
where
Self: 'a,
Notable traits for LocalBorrowingFfiFuture<'_, T>
impl<T> Future for LocalBorrowingFfiFuture<'_, T> type Output = T;
Convert a Rust Future
into a FFI-compatible LocalFfiFuture
.
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.