Struct diem_infallible::RwLock [−][src]
pub struct RwLock<T>(_);Expand description
A simple wrapper around the lock() function of a std::sync::RwLock The only difference is that you don’t need to call unwrap() on it.
Implementations
lock the rwlock in read mode
lock the rwlock in write mode
return the owned type consuming the lock