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