Type Alias DbResult

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

Type alias for a result where the error is a DbErr

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value