pub type TryLockResult<Guard> = Result<Guard, TryLockError>;
Expand description
A type alias for the result of a nonblocking locking method.
Aliased Type§
pub enum TryLockResult<Guard> {
Ok(Guard),
Err(TryLockError),
}
pub type TryLockResult<Guard> = Result<Guard, TryLockError>;
A type alias for the result of a nonblocking locking method.
pub enum TryLockResult<Guard> {
Ok(Guard),
Err(TryLockError),
}