pub struct ReadCellGuard<'a, T>where
T: Collection,{ /* private fields */ }Available on crate feature
async only.Expand description
RAII structure used to release the shared read access of a cell lock when dropped.
This structure is created by the read_cell methods on LockerRoomAsync.
Trait Implementations§
Source§impl<'a, T> Deref for ReadCellGuard<'a, T>where
T: Collection,
impl<'a, T> Deref for ReadCellGuard<'a, T>where
T: Collection,
Auto Trait Implementations§
impl<'a, T> Freeze for ReadCellGuard<'a, T>
impl<'a, T> RefUnwindSafe for ReadCellGuard<'a, T>
impl<'a, T> Send for ReadCellGuard<'a, T>
impl<'a, T> Sync for ReadCellGuard<'a, T>
impl<'a, T> Unpin for ReadCellGuard<'a, T>
impl<'a, T> UnwindSafe for ReadCellGuard<'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