Type Alias rusqlite::Result

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

A typedef of the result returned by many methods.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Trait Implementations§

source§

impl<T> OptionalExtension<T> for Result<T>

source§

fn optional(self) -> Result<Option<T>>

Converts a Result<T> into a Result<Option<T>>. Read more