pub enum UserDataError {
NoDataFound,
MultipleRowsFound,
DatabaseError(Error),
FailedToDeserializeData(Error),
}Variants§
Trait Implementations§
Source§impl Debug for UserDataError
impl Debug for UserDataError
Source§impl Display for UserDataError
impl Display for UserDataError
Source§impl Error for UserDataError
impl Error for UserDataError
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 From<Error> for UserDataError
impl From<Error> for UserDataError
Auto Trait Implementations§
impl Freeze for UserDataError
impl !RefUnwindSafe for UserDataError
impl Send for UserDataError
impl Sync for UserDataError
impl Unpin for UserDataError
impl !UnwindSafe for UserDataError
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