std::sync::TryLockResult [] [src]

type TryLockResult<Guard> = Result<Guard, TryLockError<Guard>>;

A type alias for the result of a nonblocking locking method.

For more information, see LockResult`LockResult. A`. A TryLockResult`TryLockResultdoesn't necessarily hold the associated guard in the` doesn't necessarily hold the associated guard in the Err`Err` type as the lock may not have been acquired for other reasons.