pub trait GuardedTarget {
    type Target;
}
Expand description

Provides a single dereferencing target type for ReadApi, WriteApi and RwApi.

Required Associated Types§

source

type Target

Dereference target of the read and write guards.

Implementations on Foreign Types§

source§

impl<T> GuardedTarget for &RwLock<T>

§

type Target = T

source§

impl<T> GuardedTarget for RwLock<T>

§

type Target = T

source§

impl<T> GuardedTarget for &mut RwLock<T>

§

type Target = T

Implementors§