pub struct RwLockReadGuard<'a, T> { /* private fields */ }Expand description
Guard for a read lock.
Trait Implementations§
Source§impl<T: Debug> Debug for RwLockReadGuard<'_, T>
impl<T: Debug> Debug for RwLockReadGuard<'_, T>
Source§impl<T> Deref for RwLockReadGuard<'_, T>
impl<T> Deref for RwLockReadGuard<'_, T>
Source§impl<T> Drop for RwLockReadGuard<'_, T>
impl<T> Drop for RwLockReadGuard<'_, T>
impl<T: Send + Sync> Send for RwLockReadGuard<'_, T>
impl<T: Send + Sync> Sync for RwLockReadGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for RwLockReadGuard<'a, T>
impl<'a, T> !UnwindSafe for RwLockReadGuard<'a, T>
impl<'a, T> Freeze for RwLockReadGuard<'a, T>
impl<'a, T> Unpin for RwLockReadGuard<'a, T>
impl<'a, T> UnsafeUnpin for RwLockReadGuard<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).