pub struct FangError {
pub description: String,
}
Expand description
An error that can happen during executing of tasks
Fields§
§description: String
A description of an error
Trait Implementations§
source§impl From<AsyncQueueError> for FangError
impl From<AsyncQueueError> for FangError
source§fn from(error: AsyncQueueError) -> Self
fn from(error: AsyncQueueError) -> Self
Converts to this type from the input type.
source§impl From<Error> for FangError
impl From<Error> for FangError
source§fn from(error: SerdeError) -> Self
fn from(error: SerdeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for FangError
impl From<Error> for FangError
source§fn from(error: DieselError) -> Self
fn from(error: DieselError) -> Self
Converts to this type from the input type.
source§impl From<Error> for FangError
impl From<Error> for FangError
source§fn from(error: TokioPostgresError) -> Self
fn from(error: TokioPostgresError) -> Self
Converts to this type from the input type.
source§impl From<QueueError> for FangError
impl From<QueueError> for FangError
source§fn from(error: QueueError) -> Self
fn from(error: QueueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FangError
impl Send for FangError
impl Sync for FangError
impl Unpin for FangError
impl UnwindSafe for FangError
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
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>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more