Type Alias TryLockResult

type TryLockResult = Result<Guard, WouldBlock>

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