Home
last modified time | relevance | path

Searched defs:TryLockError (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/tokio/src/sync/
Drwlock.rs638 pub fn try_read(&self) -> Result<RwLockReadGuard<'_, T>, TryLockError> { in try_read() argument
701 pub fn try_read_owned(self: Arc<Self>) -> Result<OwnedRwLockReadGuard<T>, TryLockError> { in try_read_owned() argument
949 pub fn try_write(&self) -> Result<RwLockWriteGuard<'_, T>, TryLockError> { in try_write() argument
1005 pub fn try_write_owned(self: Arc<Self>) -> Result<OwnedRwLockWriteGuard<T>, TryLockError> { in try_write_owned() argument
Dmutex.rs210 pub struct TryLockError(pub(super) ()); struct
212 impl fmt::Display for TryLockError { implementation
218 impl Error for TryLockError {} implementation
566 pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, TryLockError> { in try_lock() argument
635 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned() argument