pub struct Guard<'a, T> { /* private fields */ }Expand description
A guard type providing access to a snapshot of a refreshable’s current value.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Guard<'a, T>
impl<'a, T> RefUnwindSafe for Guard<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Guard<'a, T>
impl<'a, T> Sync for Guard<'a, T>
impl<'a, T> Unpin for Guard<'a, T>
impl<'a, T> UnwindSafe for Guard<'a, 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
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.