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§
source§impl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
impl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load
.