Searched defs:TryLockError (Results 1 – 2 of 2) sorted by relevance
643 pub fn try_read(&self) -> Result<RwLockReadGuard<'_, T>, TryLockError> { in try_read() argument708 pub fn try_read_owned(self: Arc<Self>) -> Result<OwnedRwLockReadGuard<T>, TryLockError> { in try_read_owned() argument963 pub fn try_write(&self) -> Result<RwLockWriteGuard<'_, T>, TryLockError> { in try_write() argument1021 pub fn try_write_owned(self: Arc<Self>) -> Result<OwnedRwLockWriteGuard<T>, TryLockError> { in try_write_owned() argument
289 pub struct TryLockError(pub(super) ()); struct291 impl fmt::Display for TryLockError { implementation297 impl Error for TryLockError {} implementation657 pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, TryLockError> { in try_lock() argument728 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned() argument