struct LockInner<'a, T: ?Sized> {
mutex: &'a Mutex<T>,
acquire_slow: Option<AcquireSlow<&'a Mutex<T>, T>>,
}Expand description
Inner future for acquiring the mutex.
Fields§
§mutex: &'a Mutex<T>§acquire_slow: Option<AcquireSlow<&'a Mutex<T>, T>>Trait Implementations§
Source§impl<'a, T: ?Sized> EventListenerFuture for LockInner<'a, T>
impl<'a, T: ?Sized> EventListenerFuture for LockInner<'a, T>
impl<'__pin, 'a, T: ?Sized> Unpin for LockInner<'a, T>where
PinnedFieldsOf<__Origin<'__pin, 'a, T>>: Unpin,
Auto Trait Implementations§
impl<'a, T> Freeze for LockInner<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for LockInner<'a, T>
impl<'a, T> Send for LockInner<'a, T>
impl<'a, T> Sync for LockInner<'a, T>
impl<'a, T> !UnwindSafe for LockInner<'a, 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