Type Alias versatiles_lib::shared::error::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

A type alias for std::result::Result that uses Box<dyn std::error::Error> as the error type.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value