pub struct MutexGuard<'a, K: Kernel, T> {
mutex: &'a Mutex<K, T>,
_marker: PhantomData<*const ()>,
}Fields§
§mutex: &'a Mutex<K, T>§_marker: PhantomData<*const ()>Trait Implementations§
Source§impl<K: Kernel, T> Deref for MutexGuard<'_, K, T>
impl<K: Kernel, T> Deref for MutexGuard<'_, K, T>
Source§impl<K: Kernel, T> DerefMut for MutexGuard<'_, K, T>
impl<K: Kernel, T> DerefMut for MutexGuard<'_, K, T>
Source§impl<K: Kernel, T> Drop for MutexGuard<'_, K, T>
impl<K: Kernel, T> Drop for MutexGuard<'_, K, T>
impl<K: Kernel, T: Sync> Sync for MutexGuard<'_, K, T>
Auto Trait Implementations§
impl<'a, K, T> !RefUnwindSafe for MutexGuard<'a, K, T>
impl<'a, K, T> !Send for MutexGuard<'a, K, T>
impl<'a, K, T> !UnwindSafe for MutexGuard<'a, K, T>
impl<'a, K, T> Forget for MutexGuard<'a, K, T>
impl<'a, K, T> Freeze for MutexGuard<'a, K, T>where
&'a Mutex<K, T>: Freeze,
impl<'a, K, T> Move for MutexGuard<'a, K, T>
impl<'a, K, T> Unpin for MutexGuard<'a, K, T>where
&'a Mutex<K, T>: Unpin,
impl<'a, K, T> UnsafeUnpin for MutexGuard<'a, K, T>where
&'a Mutex<K, T>: UnsafeUnpin,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more