Enum iroh_blobs::downloader::DownloadError
source · pub enum DownloadError {
DownloadFailed,
Cancelled,
NoProviders,
ActorClosed,
}
Available on crate feature
downloader
only.Expand description
Error returned when a download could not be completed.
Variants§
DownloadFailed
Failed to download from any provider
Cancelled
The download was cancelled by us
NoProviders
No provider nodes found
ActorClosed
Failed to receive response from service.
Trait Implementations§
source§impl Clone for DownloadError
impl Clone for DownloadError
source§fn clone(&self) -> DownloadError
fn clone(&self) -> DownloadError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DownloadError
impl Debug for DownloadError
source§impl Display for DownloadError
impl Display for DownloadError
source§impl Error for DownloadError
impl Error for DownloadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for DownloadError
impl RefUnwindSafe for DownloadError
impl Send for DownloadError
impl Sync for DownloadError
impl Unpin for DownloadError
impl UnwindSafe for DownloadError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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