Result

Type Alias Result 

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

Convenience type alias for Results using DotmaxError

This allows writing dotmax::Result<T> instead of Result<T, DotmaxError> in applications using this library.

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(DotmaxError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DotmaxError)

Contains the error value