pub struct ReadGuard<'a, T>(/* private fields */);
Expand description
A reference guard to the read half of the cell. WriteHandle::publish
will block until this is dropped.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ReadGuard<'a, T>
impl<'a, T> !RefUnwindSafe for ReadGuard<'a, T>
impl<'a, T> !Send for ReadGuard<'a, T>
impl<'a, T> !Sync for ReadGuard<'a, T>
impl<'a, T> Unpin for ReadGuard<'a, T>
impl<'a, T> !UnwindSafe for ReadGuard<'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