Struct async_lock::futures::Upgrade
source · pub struct Upgrade<'a, T: ?Sized> { /* private fields */ }
Expand description
The future returned by RwLockUpgradableReadGuard::upgrade
.
Trait Implementations§
impl<T: ?Sized> Unpin for Upgrade<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for Upgrade<'a, T>
impl<'a, T: ?Sized> Send for Upgrade<'a, T>where T: Send,
impl<'a, T: ?Sized> Sync for Upgrade<'a, T>where T: Sync,
impl<'a, T> !UnwindSafe for Upgrade<'a, T>
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more