Struct lease::AsyncLease [−][src]
#[must_use]pub struct AsyncLease<'a, 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<'a, T> !RefUnwindSafe for AsyncLease<'a, T>
impl<'a, T> Send for AsyncLease<'a, T> where
T: Send,
impl<'a, T> Sync for AsyncLease<'a, T> where
T: Send,
impl<'a, T> Unpin for AsyncLease<'a, T>
impl<'a, T> !UnwindSafe for AsyncLease<'a, 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.