pub enum BlockingDownloadError {
Io(ThreadedIoError),
TargetDoesNotExist(String),
Request(Error),
FileNameTooLong,
NoFileName,
FileExists(String),
HttpError(Error),
}
Variants§
Io(ThreadedIoError)
TargetDoesNotExist(String)
Request(Error)
FileNameTooLong
NoFileName
FileExists(String)
HttpError(Error)
Trait Implementations§
Source§impl Debug for BlockingDownloadError
impl Debug for BlockingDownloadError
Source§impl Display for BlockingDownloadError
impl Display for BlockingDownloadError
Source§impl Error for BlockingDownloadError
impl Error for BlockingDownloadError
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<Error> for BlockingDownloadError
impl From<Error> for BlockingDownloadError
Source§impl From<Error> for BlockingDownloadError
impl From<Error> for BlockingDownloadError
Source§impl From<Error> for BlockingDownloadError
impl From<Error> for BlockingDownloadError
Source§impl From<ThreadedIoError> for BlockingDownloadError
impl From<ThreadedIoError> for BlockingDownloadError
Source§fn from(source: ThreadedIoError) -> Self
fn from(source: ThreadedIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockingDownloadError
impl !RefUnwindSafe for BlockingDownloadError
impl Send for BlockingDownloadError
impl !Sync for BlockingDownloadError
impl Unpin for BlockingDownloadError
impl !UnwindSafe for BlockingDownloadError
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