Searched defs:LockError (Results 1 – 2 of 2) sorted by relevance
47 pub struct LockError; struct49 impl Display for LockError { implementation55 impl Error for LockError {} implementation123 pub fn try_lock(&self) -> Result<MutexGuard<'_, T>, LockError> { in try_lock() argument
136 pub fn try_read(&self) -> Result<RwLockReadGuard<'_, T>, LockError> { in try_read() argument197 pub fn try_write(&self) -> Result<RwLockWriteGuard<'_, T>, LockError> { in try_write() argument