pub enum SingleDownloadError {
Show 14 variants
SetPermission {
source: Error,
},
OpenAsWriteMode {
source: Error,
},
Open {
source: Error,
},
Create {
source: Error,
},
Seek {
source: Error,
},
Write {
source: Error,
},
Flush {
source: Error,
},
Remove {
source: Error,
},
CreateSymlink {
source: Error,
},
ReqwestError {
source: Error,
},
BrokenPipe {
source: Error,
},
SendRequestTimeout,
DownloadTimeout,
ChecksumMismatch,
}
Variants§
SetPermission
OpenAsWriteMode
Open
Create
Seek
Write
Flush
Remove
CreateSymlink
ReqwestError
BrokenPipe
SendRequestTimeout
DownloadTimeout
ChecksumMismatch
Trait Implementations§
Source§impl Debug for SingleDownloadError
impl Debug for SingleDownloadError
Source§impl Display for SingleDownloadError
impl Display for SingleDownloadError
Source§impl Error for SingleDownloadError
impl Error for SingleDownloadError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for SingleDownloadError
impl ErrorCompat for SingleDownloadError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source
. Read moreAuto Trait Implementations§
impl Freeze for SingleDownloadError
impl !RefUnwindSafe for SingleDownloadError
impl Send for SingleDownloadError
impl Sync for SingleDownloadError
impl Unpin for SingleDownloadError
impl !UnwindSafe for SingleDownloadError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.