pub struct ReadOnlyMutexGuard<'a, T: ?Sized + 'a>(/* private fields */);Implementations§
Source§impl<'a, T> ReadOnlyMutexGuard<'a, T>
impl<'a, T> ReadOnlyMutexGuard<'a, T>
pub fn new(guard: MutexGuard<'a, T>) -> Self
Trait Implementations§
Source§impl<'a, T: ?Sized + 'a> Debug for ReadOnlyMutexGuard<'a, T>where
MutexGuard<'a, T>: Debug,
impl<'a, T: ?Sized + 'a> Debug for ReadOnlyMutexGuard<'a, T>where
MutexGuard<'a, T>: Debug,
Auto Trait Implementations§
impl<'a, T> Freeze for ReadOnlyMutexGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for ReadOnlyMutexGuard<'a, T>where
T: ?Sized,
impl<'a, T> !Send for ReadOnlyMutexGuard<'a, T>
impl<'a, T> Sync for ReadOnlyMutexGuard<'a, T>
impl<'a, T> Unpin for ReadOnlyMutexGuard<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for ReadOnlyMutexGuard<'a, T>where
T: ?Sized,
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