Skip to main content

Result

Type Alias Result 

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

Result type for this crate’s use.

Instead of using Rust’s defaulted Result type, we abstracted Result type to accept a single type parameter by defaulting our error type

Aliased Type§

pub enum Result<T, E = EIMZOError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value