Struct async_lock::futures::LockArc
source · pub struct LockArc<T: ?Sized>(_);
Expand description
The future returned by Mutex::lock_arc
.
Trait Implementations§
impl<T: Send + ?Sized> Send for LockArc<T>
impl<T: Sync + ?Sized> Sync for LockArc<T>
impl<T: ?Sized> Unpin for LockArc<T>
Auto Trait Implementations§
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,
§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