Struct futures_locks::RwLockReadGuard
source · pub struct RwLockReadGuard<T: ?Sized> { /* private fields */ }
Expand description
An RAII guard, much like std::sync::RwLockReadGuard
. The wrapped data can
be accessed via its Deref
implementation.
Trait Implementations
sourceimpl<T: ?Sized> Deref for RwLockReadGuard<T>
impl<T: ?Sized> Deref for RwLockReadGuard<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for RwLockReadGuard<T>
impl<T: ?Sized> Send for RwLockReadGuard<T>where
T: Send,
impl<T: ?Sized> Sync for RwLockReadGuard<T>where
T: Send,
impl<T: ?Sized> Unpin for RwLockReadGuard<T>
impl<T> !UnwindSafe for RwLockReadGuard<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more