Enum channel_loader::diesel::DieselError [−][src]
pub enum DieselError { Forbidden, Unauthorized, NotFound, PoolError(PoolError), ConnectionError(ConnectionError), QueryError(Error), }
Expand description
A combination of all diesel
error types as well as the convenience types Forbidden, Unauthorized and NotFound
Variants
PoolError(PoolError)
ConnectionError(ConnectionError)
QueryError(Error)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for DieselError
impl Send for DieselError
impl Sync for DieselError
impl Unpin for DieselError
impl !UnwindSafe for DieselError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]Convert &self
to an expression for Diesel’s query builder. Read more