Type Alias UnitResult

Source
pub type UnitResult<T> = Result<T, UnitError>;
Expand description

Result type returned from methods that have a UnitError error.

Aliased Type§

enum UnitResult<T> {
    Ok(T),
    Err(UnitError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(UnitError)

Contains the error value