Enum news_flash::feed_api::error::FeedApiErrorKind
source · pub enum FeedApiErrorKind {
Show 16 variants
Config,
Url,
Login,
Api,
IO,
Portal,
ParseFeed,
Unsupported,
Secret,
Resource,
TLSCert,
HTTPAuth,
Encryption,
Json,
UnsupportedVersion,
Unknown,
}
Variants
Config
Url
Login
Api
IO
Portal
ParseFeed
Unsupported
Secret
Resource
TLSCert
HTTPAuth
Encryption
Json
UnsupportedVersion
Unknown
Trait Implementations
sourceimpl Clone for FeedApiErrorKind
impl Clone for FeedApiErrorKind
sourcefn clone(&self) -> FeedApiErrorKind
fn clone(&self) -> FeedApiErrorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FeedApiErrorKind
impl Debug for FeedApiErrorKind
sourceimpl Display for FeedApiErrorKind
impl Display for FeedApiErrorKind
sourceimpl Fail for FeedApiErrorKind
impl Fail for FeedApiErrorKind
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<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.
sourceimpl PartialEq<FeedApiErrorKind> for FeedApiErrorKind
impl PartialEq<FeedApiErrorKind> for FeedApiErrorKind
sourcefn eq(&self, other: &FeedApiErrorKind) -> bool
fn eq(&self, other: &FeedApiErrorKind) -> bool
impl Copy for FeedApiErrorKind
impl Eq for FeedApiErrorKind
impl StructuralEq for FeedApiErrorKind
impl StructuralPartialEq for FeedApiErrorKind
Auto Trait Implementations
impl RefUnwindSafe for FeedApiErrorKind
impl Send for FeedApiErrorKind
impl Sync for FeedApiErrorKind
impl Unpin for FeedApiErrorKind
impl UnwindSafe for FeedApiErrorKind
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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