Type Alias RustDistResult

Source
pub type RustDistResult<T> = Result<T, RustDistError>;
Expand description

A result type which binds the RustDistError to the error type.

Aliased Type§

pub enum RustDistResult<T> {
    Ok(T),
    Err(RustDistError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RustDistError)

Contains the error value