PoisonlessAccessResult

Type Alias PoisonlessAccessResult 

Source
pub type PoisonlessAccessResult<T> = Result<T, AccessError<Infallible>>;
Expand description

A variation of AccessResult<T> which cannot possibly be a poison error.

Note that every AccessError is caused by poison, so this result is always Ok.

Aliased Type§

pub enum PoisonlessAccessResult<T> {
    Ok(T),
    Err(AccessError<Infallible>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(AccessError<Infallible>)

Contains the error value