pub struct LockArc<T: ?Sized> {
_inner: FutureWrapper<LockArcInnards<T>>,
}Expand description
The future returned by Mutex::lock_arc.
Fields§
§_inner: FutureWrapper<LockArcInnards<T>>Implementations§
Source§impl<T: ?Sized> LockArc<T>
impl<T: ?Sized> LockArc<T>
fn _new(inner: LockArcInnards<T>) -> Self
pub(crate) fn wait(self) -> MutexGuardArc<T>
pub(crate) fn poll_with_strategy<'__strategy, __S: Strategy<'__strategy>>( self: Pin<&mut Self>, strategy: &mut __S, context: &mut __S::Context, ) -> Poll<MutexGuardArc<T>>
Trait Implementations§
impl<T: Send + ?Sized> Send for LockArc<T>
impl<T: Sync + ?Sized> Sync for LockArc<T>
impl<'__pin, T: ?Sized> Unpin for LockArc<T>where
PinnedFieldsOf<__Origin<'__pin, T>>: Unpin,
Auto Trait Implementations§
impl<T> Freeze for LockArc<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for LockArc<T>
impl<T> !UnwindSafe for LockArc<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