[][src]Type Definition spin::lock_api::RwLock

type RwLock<T> = RwLock<RwLock<()>, T>;

A lock that provides data access to either one writer or many readers (compatible with lock_api).