Struct closure_future::ClosureFuture [−][src]
pub struct ClosureFuture<Output> { /* fields omitted */ }
Expand description
A Future whose output will be the output of the closure
Trait Implementations
Auto Trait Implementations
impl<Output> !RefUnwindSafe for ClosureFuture<Output>
impl<Output> Send for ClosureFuture<Output> where
Output: Send + Sync,
impl<Output> Sync for ClosureFuture<Output> where
Output: Send + Sync,
impl<Output> Unpin for ClosureFuture<Output>
impl<Output> !UnwindSafe for ClosureFuture<Output>
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 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.