pub struct RwMutexReadGuard<'a, T> { /* private fields */ }Expand description
A guard that provides immutable data access.
Implementations§
Trait Implementations§
Source§impl<T> Deref for RwMutexReadGuard<'_, T>
impl<T> Deref for RwMutexReadGuard<'_, T>
impl<T> !Send for RwMutexReadGuard<'_, T>
impl<T: Sync> Sync for RwMutexReadGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for RwMutexReadGuard<'a, T>
impl<'a, T> !RefUnwindSafe for RwMutexReadGuard<'a, T>
impl<'a, T> Unpin for RwMutexReadGuard<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for RwMutexReadGuard<'a, T>
impl<'a, T> !UnwindSafe for RwMutexReadGuard<'a, T>
Blanket Implementations§
§impl<T> DerefSpec for Twhere
T: Deref,
impl<T> DerefSpec for Twhere
T: Deref,
§fn deref_spec(&self) -> &<T as Deref>::Target
fn deref_spec(&self) -> &<T as Deref>::Target
👎Deprecated: If you can, do not use this module as it adds assumptions about the core of Rust’s deref semantics.
§fn deref_spec_eq(&self)
fn deref_spec_eq(&self)
👎Deprecated: If you can, do not use this module as it adds assumptions about the core of Rust’s deref semantics.
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