Struct async_lock::futures::UpgradeArc
source · pub struct UpgradeArc<T: ?Sized> { /* private fields */ }
Expand description
The future returned by RwLockUpgradableReadGuardArc::upgrade
.
Trait Implementations§
source§impl<T: ?Sized> Debug for UpgradeArc<T>
impl<T: ?Sized> Debug for UpgradeArc<T>
source§impl<T: ?Sized> Future for UpgradeArc<T>
impl<T: ?Sized> Future for UpgradeArc<T>
source§type Output = RwLockWriteGuardArc<T>
type Output = RwLockWriteGuardArc<T>
The type of value produced on completion.
impl<'__pin, T: ?Sized> Unpin for UpgradeArc<T>where
__Origin<'__pin, T>: Unpin,
Auto Trait Implementations§
impl<T> Freeze for UpgradeArc<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for UpgradeArc<T>
impl<T> Send for UpgradeArc<T>
impl<T> Sync for UpgradeArc<T>
impl<T> !UnwindSafe for UpgradeArc<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
source§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