Trait concurrency_traits::RawTimeoutRwLock [−][src]
pub trait RawTimeoutRwLock: RawRwLock { fn add_reader_timeout(&self, timeout: Duration) -> bool; fn add_writer_timeout(&self, timeout: Duration) -> bool; }
A raw timeout rw lock that stores no data
Required methods
fn add_reader_timeout(&self, timeout: Duration) -> bool
[src]
Adds a reader to this lock with a timeout. Returns true if successful
fn add_writer_timeout(&self, timeout: Duration) -> bool
[src]
Adds a writer to this lock with a timeout. Returns true if successful