pub enum RssError {
Http(Error),
Json(Error),
RemoteHttpError(Box<Response>),
RSS(Error),
NoChannel,
MissingCrawlRule(String),
InvalidUrl(ParseError),
Other(String),
Couch(CouchError),
Any(Error),
}
Variants
Http(Error)
Json(Error)
RemoteHttpError(Box<Response>)
RSS(Error)
NoChannel
MissingCrawlRule(String)
InvalidUrl(ParseError)
Other(String)
Couch(CouchError)
Any(Error)
Trait Implementations
sourceimpl Error for RssError
impl Error for RssError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<CouchError> for RssError
impl From<CouchError> for RssError
sourcefn from(source: CouchError) -> Self
fn from(source: CouchError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for RssError
impl From<ParseError> for RssError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for RssError
impl Send for RssError
impl Sync for RssError
impl Unpin for RssError
impl !UnwindSafe for RssError
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>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self