Enum news_flash::NewsFlashErrorKind
source · pub enum NewsFlashErrorKind {
Show 15 variants
Database,
API,
IO,
Login,
NotLoggedIn,
LoadBackend,
Portal,
Config,
Icon,
Thumbnail,
OPML,
ImageDownload,
GrabContent,
Syncing,
Unknown,
}
Variants
Database
API
IO
Login
NotLoggedIn
LoadBackend
Portal
Config
Icon
Thumbnail
OPML
ImageDownload
GrabContent
Syncing
Unknown
Trait Implementations
sourceimpl Clone for NewsFlashErrorKind
impl Clone for NewsFlashErrorKind
sourcefn clone(&self) -> NewsFlashErrorKind
fn clone(&self) -> NewsFlashErrorKind
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 NewsFlashErrorKind
impl Debug for NewsFlashErrorKind
sourceimpl Display for NewsFlashErrorKind
impl Display for NewsFlashErrorKind
sourceimpl Fail for NewsFlashErrorKind
impl Fail for NewsFlashErrorKind
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<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.
sourceimpl PartialEq<NewsFlashErrorKind> for NewsFlashErrorKind
impl PartialEq<NewsFlashErrorKind> for NewsFlashErrorKind
sourcefn eq(&self, other: &NewsFlashErrorKind) -> bool
fn eq(&self, other: &NewsFlashErrorKind) -> bool
impl Copy for NewsFlashErrorKind
impl Eq for NewsFlashErrorKind
impl StructuralEq for NewsFlashErrorKind
impl StructuralPartialEq for NewsFlashErrorKind
Auto Trait Implementations
impl RefUnwindSafe for NewsFlashErrorKind
impl Send for NewsFlashErrorKind
impl Sync for NewsFlashErrorKind
impl Unpin for NewsFlashErrorKind
impl UnwindSafe for NewsFlashErrorKind
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