rocket_db_pools::figment::error

Type Alias Result

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

A simple alias to Result with an error type of Error.

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