TryLockResult

Type Alias TryLockResult 

Source
pub type TryLockResult<T> = TryLockResult<T>;
Expand description

Alias to std::sync::TryLockResult

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TryLockError<T>)

Contains the error value