Type Alias DbResult

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

A DbResult wraps any part of a call that has to reach into the backend (in this case sqlite.rs) These errors could be anything, depending on the backend

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(String)

Contains the error value