Struct lease::AsyncLease [−][src]
#[must_use]pub struct AsyncLease<T> { /* fields omitted */ }
Expand description
Implements the core::future::Future
trait.
This is returned by the Pool::get_async()
method and will resolve once a Lease
is ready.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for AsyncLease<T>
impl<T> Send for AsyncLease<T> where
T: Send,
impl<T> Sync for AsyncLease<T> where
T: Send,
impl<T> Unpin for AsyncLease<T>
impl<T> !UnwindSafe for AsyncLease<T>
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.