Struct news_flash::feed_api::error::FeedApiError
source · pub struct FeedApiError { /* private fields */ }
Implementations
sourceimpl FeedApiError
impl FeedApiError
pub fn kind(&self) -> FeedApiErrorKind
Trait Implementations
sourceimpl Debug for FeedApiError
impl Debug for FeedApiError
sourceimpl Display for FeedApiError
impl Display for FeedApiError
sourceimpl Fail for FeedApiError
impl Fail for FeedApiError
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<FeedApiErrorKind>> for FeedApiError
impl From<Context<FeedApiErrorKind>> for FeedApiError
sourcefn from(inner: Context<FeedApiErrorKind>) -> FeedApiError
fn from(inner: Context<FeedApiErrorKind>) -> FeedApiError
Converts to this type from the input type.
sourceimpl From<Error> for FeedApiError
impl From<Error> for FeedApiError
sourcefn from(_: Error) -> FeedApiError
fn from(_: Error) -> FeedApiError
Converts to this type from the input type.
sourceimpl From<FeedApiErrorKind> for FeedApiError
impl From<FeedApiErrorKind> for FeedApiError
sourcefn from(kind: FeedApiErrorKind) -> FeedApiError
fn from(kind: FeedApiErrorKind) -> FeedApiError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for FeedApiError
impl Send for FeedApiError
impl Sync for FeedApiError
impl Unpin for FeedApiError
impl !UnwindSafe for FeedApiError
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