pub enum VocabStoreError {
ConnectionError(ConnectionError),
NotInitialised,
AlreadyInitialised,
DuplicateEntry,
DatabaseError(Error),
UnexpectedError(Box<dyn Error>),
ExporterError(ExporterError),
ReconciliationError,
}
Variants§
ConnectionError(ConnectionError)
NotInitialised
AlreadyInitialised
DuplicateEntry
DatabaseError(Error)
UnexpectedError(Box<dyn Error>)
ExporterError(ExporterError)
ReconciliationError
Trait Implementations§
Source§impl Debug for VocabStoreError
impl Debug for VocabStoreError
Source§impl Display for VocabStoreError
impl Display for VocabStoreError
Source§impl Error for VocabStoreError
impl Error for VocabStoreError
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 From<ConnectionError> for VocabStoreError
impl From<ConnectionError> for VocabStoreError
Source§fn from(e: ConnectionError) -> Self
fn from(e: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for VocabStoreError
impl From<Error> for VocabStoreError
Source§impl From<Error> for VocabStoreError
impl From<Error> for VocabStoreError
Source§fn from(e: DieselError) -> Self
fn from(e: DieselError) -> Self
Converts to this type from the input type.
Source§impl From<ExporterError> for VocabStoreError
impl From<ExporterError> for VocabStoreError
Source§fn from(e: ExporterError) -> Self
fn from(e: ExporterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VocabStoreError
impl !RefUnwindSafe for VocabStoreError
impl !Send for VocabStoreError
impl !Sync for VocabStoreError
impl Unpin for VocabStoreError
impl !UnwindSafe for VocabStoreError
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::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