Type Alias GenericResult

Source
pub type GenericResult<T> = Result<T, Box<dyn Error>>;
Expand description

The most generic Error-based Result.

Aliased Type§

pub enum GenericResult<T> {
    Ok(T),
    Err(Box<dyn Error>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error>)

Contains the error value