pub(crate) struct LockGuard<'a, T> {
lock: &'a TryLock<T>,
_p: PhantomData<Rc<()>>,
}
Fields§
§lock: &'a TryLock<T>
§_p: PhantomData<Rc<()>>
Trait Implementations§
impl<T: Sync> Sync for LockGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for LockGuard<'a, T>
impl<'a, T> !RefUnwindSafe for LockGuard<'a, T>
impl<'a, T> !Send for LockGuard<'a, T>
impl<'a, T> Unpin for LockGuard<'a, T>
impl<'a, T> !UnwindSafe for LockGuard<'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