Struct news_flash::NewsFlashError
source · pub struct NewsFlashError { /* private fields */ }
Implementations
sourceimpl NewsFlashError
impl NewsFlashError
pub fn kind(&self) -> NewsFlashErrorKind
Trait Implementations
sourceimpl Debug for NewsFlashError
impl Debug for NewsFlashError
sourceimpl Display for NewsFlashError
impl Display for NewsFlashError
sourceimpl Fail for NewsFlashError
impl Fail for NewsFlashError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<Context<NewsFlashErrorKind>> for NewsFlashError
impl From<Context<NewsFlashErrorKind>> for NewsFlashError
sourcefn from(inner: Context<NewsFlashErrorKind>) -> NewsFlashError
fn from(inner: Context<NewsFlashErrorKind>) -> NewsFlashError
Converts to this type from the input type.
sourceimpl From<Error> for NewsFlashError
impl From<Error> for NewsFlashError
sourcefn from(_: Error) -> NewsFlashError
fn from(_: Error) -> NewsFlashError
Converts to this type from the input type.
sourceimpl From<NewsFlashErrorKind> for NewsFlashError
impl From<NewsFlashErrorKind> for NewsFlashError
sourcefn from(kind: NewsFlashErrorKind) -> NewsFlashError
fn from(kind: NewsFlashErrorKind) -> NewsFlashError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for NewsFlashError
impl Send for NewsFlashError
impl Sync for NewsFlashError
impl Unpin for NewsFlashError
impl !UnwindSafe for NewsFlashError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn 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 moresourcefn 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