cast::backend

Type Alias DatabaseResult

pub type DatabaseResult<T> = Result<T, DatabaseError>;
Expand description

Result alias with DatabaseError as error

Aliased Type§

enum DatabaseResult<T> {
    Ok(T),
    Err(DatabaseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DatabaseError)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.