Type Definition spin::lock_api::RwLock

source ·
pub type RwLock<T> = RwLock<RwLock<()>, T>;
Available on crate features lock_api and rwlock only.
Expand description

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