pub struct ReadGuard<Svc, SvcBase: ?Sized, Inner> {
// some fields omitted
}
Svc
: The service-type SvcBase
will be downcasted to.
SvcBase
: The service-base-type.
Inner
: The guard-type which will be wrapped (derefs to Box<SvcBase>
).
Trait Implementations
impl<Svc, SvcBase: ?Sized, Inner> Deref for ReadGuard<Svc, SvcBase, Inner> where Svc: Any, SvcBase: Downcast<Svc>, Inner: Deref<Target=Box<SvcBase>>
[src]
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value