Type Alias maitake_sync::wait_map::WaitResult

source ·
pub type WaitResult<T> = Result<T, WaitError>;
Expand description

The result of a call to WaitMap::wait().

Aliased Type§

enum WaitResult<T> {
    Ok(T),
    Err(WaitError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(WaitError)

Contains the error value