Struct async_lock::RwLockReadGuardArc
source · pub struct RwLockReadGuardArc<T> { /* private fields */ }
Expand description
An owned, reference-counting guard that releases the read lock when dropped.
Trait Implementations§
source§impl<T: Debug> Debug for RwLockReadGuardArc<T>
impl<T: Debug> Debug for RwLockReadGuardArc<T>
source§impl<T> Deref for RwLockReadGuardArc<T>
impl<T> Deref for RwLockReadGuardArc<T>
source§impl<T: Display> Display for RwLockReadGuardArc<T>
impl<T: Display> Display for RwLockReadGuardArc<T>
source§impl<T> Drop for RwLockReadGuardArc<T>
impl<T> Drop for RwLockReadGuardArc<T>
impl<T: Send + Sync> Send for RwLockReadGuardArc<T>
impl<T: Send + Sync> Sync for RwLockReadGuardArc<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for RwLockReadGuardArc<T>where T: RefUnwindSafe,
impl<T> Unpin for RwLockReadGuardArc<T>
impl<T> UnwindSafe for RwLockReadGuardArc<T>where T: RefUnwindSafe,
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