Searched defs:TryLockError (Results 1 – 2 of 2) sorted by relevance
638 pub fn try_read(&self) -> Result<RwLockReadGuard<'_, T>, TryLockError> { in try_read() argument701 pub fn try_read_owned(self: Arc<Self>) -> Result<OwnedRwLockReadGuard<T>, TryLockError> { in try_read_owned() argument949 pub fn try_write(&self) -> Result<RwLockWriteGuard<'_, T>, TryLockError> { in try_write() argument1005 pub fn try_write_owned(self: Arc<Self>) -> Result<OwnedRwLockWriteGuard<T>, TryLockError> { in try_write_owned() argument
210 pub struct TryLockError(pub(super) ()); struct212 impl fmt::Display for TryLockError { implementation218 impl Error for TryLockError {} implementation566 pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, TryLockError> { in try_lock() argument635 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned() argument