pub enum SpecialError {
Single(String, String),
Multi(FormError),
NotFound(String),
ServerError(String),
Unauthorised(String),
}
Variants§
Trait Implementations§
Source§impl Debug for SpecialError
impl Debug for SpecialError
Source§impl Display for SpecialError
impl Display for SpecialError
Source§impl Error for SpecialError
impl Error for SpecialError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for SpecialError
impl PartialEq for SpecialError
impl StructuralPartialEq for SpecialError
Auto Trait Implementations§
impl Freeze for SpecialError
impl RefUnwindSafe for SpecialError
impl Send for SpecialError
impl Sync for SpecialError
impl Unpin for SpecialError
impl UnwindSafe for SpecialError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more