pub enum DownloadToEndError {
DownloadStartError(DownloadStartError),
DownloadError(DownloadError),
}
Variants§
DownloadStartError(DownloadStartError)
DownloadError(DownloadError)
Trait Implementations§
Source§impl Debug for DownloadToEndError
impl Debug for DownloadToEndError
Source§impl Display for DownloadToEndError
impl Display for DownloadToEndError
Source§impl Error for DownloadToEndError
impl Error for DownloadToEndError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DownloadError> for DownloadToEndError
impl From<DownloadError> for DownloadToEndError
Source§fn from(source: DownloadError) -> Self
fn from(source: DownloadError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadStartError> for DownloadToEndError
impl From<DownloadStartError> for DownloadToEndError
Source§fn from(source: DownloadStartError) -> Self
fn from(source: DownloadStartError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for DownloadToEndError
impl !RefUnwindSafe for DownloadToEndError
impl Send for DownloadToEndError
impl Sync for DownloadToEndError
impl Unpin for DownloadToEndError
impl !UnwindSafe for DownloadToEndError
Blanket Implementations§
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