pub type LockResult<Guard> = Result<Guard, Infallible>;
Expand description
Until poisoning is implemented, mutexes never return an error, and we just get back the guard.
Aliased Type§
enum LockResult<Guard> {
Ok(Guard),
Err(Infallible),
}
pub type LockResult<Guard> = Result<Guard, Infallible>;
Until poisoning is implemented, mutexes never return an error, and we just get back the guard.
enum LockResult<Guard> {
Ok(Guard),
Err(Infallible),
}