Type Definition interlock::hl::slice::AsyncRbTreeVecIntervalRwLock [−][src]
pub type AsyncRbTreeVecIntervalRwLock<RawMutex, Element, Priority = ()> = SliceIntervalRwLock<Vec<Element>, Element, AsyncRawRbTreeIntervalRwLock<RawMutex, usize, Priority>>;
This is supported on crate features
async
and alloc
only.Expand description
A thread-safe, Future
-oriented readers-writer lock for borrowing
subslices of Vec<Element>
, implemented by a red-black tree.
RawMutex:
lock_api::RawMutex
is used to protect the internal state
data from concurrent accesses.