pub enum ToSqliteError {
Diesel(Error),
MigrationError(RunMigrationsError),
IdLookupError(String),
}Variants§
Trait Implementations§
Source§impl Debug for ToSqliteError
impl Debug for ToSqliteError
Source§impl Display for ToSqliteError
impl Display for ToSqliteError
Source§impl Error for ToSqliteError
impl Error for ToSqliteError
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 ToSqliteError
impl From<Error> for ToSqliteError
Source§impl From<RunMigrationsError> for ToSqliteError
impl From<RunMigrationsError> for ToSqliteError
Source§fn from(source: RunMigrationsError) -> Self
fn from(source: RunMigrationsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ToSqliteError
impl !RefUnwindSafe for ToSqliteError
impl Send for ToSqliteError
impl Sync for ToSqliteError
impl Unpin for ToSqliteError
impl !UnwindSafe for ToSqliteError
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<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self to an expression for Diesel’s query builder. Read more