Struct tokio::sync::TryLockError [−][src]
pub struct TryLockError(_);
Error returned from the Mutex::try_lock, RwLock::try_read and
RwLock::try_write functions.
Mutex::try_lock operation will only fail if the mutex is already locked.
RwLock::try_read operation will only fail if the lock is currently held
by an exclusive writer.
RwLock::try_write operation will if lock is held by any reader or by an
exclusive writer.