Enum rp1::CrudError [−][src]
pub enum CrudError {
NotFound,
Forbidden,
Example,
DbError(Error),
ValidationErrors(ValidationErrors),
}
Variants
Tuple Fields of DbError
0: Error
Tuple Fields of ValidationErrors
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CrudError
impl !UnwindSafe for CrudError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
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>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more