Type Alias diesel::deserialize::Result

source ·
pub type Result<T> = Result<T, Box<dyn Error + Send + Sync>>;
Expand description

A specialized result type representing the result of deserializing a value from the database.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Box<dyn Error + Sync + Send, Global>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send, Global>)

Contains the error value