Searched defs:TryLockError (Results 1 – 2 of 2) sorted by relevance
186 pub struct TryLockError(pub(super) ()); struct188 impl fmt::Display for TryLockError { implementation194 impl Error for TryLockError {} implementation339 pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, TryLockError> { in try_lock() argument394 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned() argument
429 pub fn try_read(&self) -> Result<RwLockReadGuard<'_, T>, TryLockError> { in try_read() argument481 pub fn try_read_owned(self: Arc<Self>) -> Result<OwnedRwLockReadGuard<T>, TryLockError> { in try_read_owned() argument597 pub fn try_write(&self) -> Result<RwLockWriteGuard<'_, T>, TryLockError> { in try_write() argument642 pub fn try_write_owned(self: Arc<Self>) -> Result<OwnedRwLockWriteGuard<T>, TryLockError> { in try_write_owned() argument