Struct arc_swap::access::DynGuard [−][src]
pub struct DynGuard<T: ?Sized>(_);
Expand description
Plumbing type.
This is the guard of DynAccess
trait. It is effectively Box<Deref<Target = T>>
.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for DynGuard<T>
impl<T> !Send for DynGuard<T>
impl<T> !Sync for DynGuard<T>
impl<T: ?Sized> Unpin for DynGuard<T>
impl<T> !UnwindSafe for DynGuard<T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]
impl<T, A> DynAccess<T> for A where
A: Access<T>,
<A as Access<T>>::Guard: 'static,
[src]pub fn load(&Self) -> DynGuard<T>
[src]
pub fn load(&Self) -> DynGuard<T>
[src]The equivalent of Access::load
.