Type Alias avr_oxide::concurrency::TryLockResult

source ·
pub type TryLockResult<Guard> = OxideResult<Guard, TryLockError>;
Expand description

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

Aliased Type§

enum TryLockResult<Guard> {
    Ok(Guard),
    Err(TryLockError),
}

Variants§

§

Ok(Guard)

§

Err(TryLockError)