pub type TryLockResult<Guard> = Result<Guard, TryLockError>;
Expand description
The return type from Mutex::try_lock
.
The error indicates the reason for the failure. Until poisoning is implemented, there is only a single type of failure.
Aliased Type§
enum TryLockResult<Guard> {
Ok(Guard),
Err(TryLockError),
}