Enum async_fetcher::FetchErrorKind
source · pub enum FetchErrorKind {
Show 15 variants
Fetch(PathBuf),
DestinationHash(PathBuf),
Remove(PathBuf),
Rename {
src: PathBuf,
dst: PathBuf,
},
Copy {
src: PathBuf,
dst: PathBuf,
},
Open(PathBuf),
Create(PathBuf),
FileTime(PathBuf),
CreateDestination(PathBuf),
WriterConstruction(PathBuf),
ChunkRequest,
ChunkWrite,
LengthSet,
Flush,
FdCopy,
}
Variants
Fetch(PathBuf)
DestinationHash(PathBuf)
Remove(PathBuf)
Rename
Copy
Open(PathBuf)
Create(PathBuf)
FileTime(PathBuf)
CreateDestination(PathBuf)
WriterConstruction(PathBuf)
ChunkRequest
ChunkWrite
LengthSet
Flush
FdCopy
Trait Implementations
sourceimpl Clone for FetchErrorKind
impl Clone for FetchErrorKind
sourcefn clone(&self) -> FetchErrorKind
fn clone(&self) -> FetchErrorKind
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 FetchErrorKind
impl Debug for FetchErrorKind
sourceimpl Display for FetchErrorKind
impl Display for FetchErrorKind
sourceimpl Fail for FetchErrorKind
impl Fail for FetchErrorKind
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 PartialEq<FetchErrorKind> for FetchErrorKind
impl PartialEq<FetchErrorKind> for FetchErrorKind
sourcefn eq(&self, other: &FetchErrorKind) -> bool
fn eq(&self, other: &FetchErrorKind) -> bool
impl StructuralPartialEq for FetchErrorKind
Auto Trait Implementations
impl RefUnwindSafe for FetchErrorKind
impl Send for FetchErrorKind
impl Sync for FetchErrorKind
impl Unpin for FetchErrorKind
impl UnwindSafe for FetchErrorKind
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