Struct async_fetcher::FetchError
source · pub struct FetchError { /* private fields */ }
Expand description
An error that occurred when fetching a file with this library.
Implementations
sourceimpl FetchError
impl FetchError
pub fn kind(&self) -> &FetchErrorKind
Trait Implementations
sourceimpl Debug for FetchError
impl Debug for FetchError
sourceimpl Display for FetchError
impl Display for FetchError
sourceimpl Fail for FetchError
impl Fail for FetchError
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<FetchErrorKind>> for FetchError
impl From<Context<FetchErrorKind>> for FetchError
sourcefn from(inner: Context<FetchErrorKind>) -> FetchError
fn from(inner: Context<FetchErrorKind>) -> FetchError
Converts to this type from the input type.
sourceimpl<K: Into<FetchErrorKind>> From<K> for FetchError
impl<K: Into<FetchErrorKind>> From<K> for FetchError
sourcefn from(kind: K) -> FetchError
fn from(kind: K) -> FetchError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for FetchError
impl Send for FetchError
impl Sync for FetchError
impl Unpin for FetchError
impl !UnwindSafe for FetchError
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