pub enum DownloadStartError {
FileCrateFailed(Error),
Other(Error),
AlreadyDownloading,
DirectoryDoesNotExist,
}
Variants§
Trait Implementations§
Source§impl Debug for DownloadStartError
impl Debug for DownloadStartError
Source§impl Display for DownloadStartError
impl Display for DownloadStartError
Source§impl Error for DownloadStartError
impl Error for DownloadStartError
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<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.
Source§impl From<Error> for DownloadStartError
impl From<Error> for DownloadStartError
Auto Trait Implementations§
impl Freeze for DownloadStartError
impl !RefUnwindSafe for DownloadStartError
impl Send for DownloadStartError
impl Sync for DownloadStartError
impl Unpin for DownloadStartError
impl !UnwindSafe for DownloadStartError
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