Enum ft_sdk::SpecialError
source · 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)>
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
source§fn eq(&self, other: &SpecialError) -> bool
fn eq(&self, other: &SpecialError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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