Enum iroh_blobs::get::error::GetError   
source · pub enum GetError {
    NotFound(Error),
    RemoteReset(Error),
    NoncompliantNode(Error),
    Io(Error),
    BadRequest(Error),
    LocalFailure(Error),
}Expand description
Failures for a get operation
Variants§
NotFound(Error)
Hash not found.
RemoteReset(Error)
Remote has reset the connection.
NoncompliantNode(Error)
Remote behaved in a non-compliant way.
Io(Error)
Network or IO operation failed.
BadRequest(Error)
Our download request is invalid.
LocalFailure(Error)
Operation failed on the local node.
Trait Implementations§
source§impl Error for GetError
 
impl Error for GetError
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()
source§impl From<AtBlobHeaderNextError> for GetError
 
impl From<AtBlobHeaderNextError> for GetError
source§fn from(value: AtBlobHeaderNextError) -> Self
 
fn from(value: AtBlobHeaderNextError) -> Self
Converts to this type from the input type.
source§impl From<ConnectedNextError> for GetError
 
impl From<ConnectedNextError> for GetError
source§fn from(value: ConnectedNextError) -> Self
 
fn from(value: ConnectedNextError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for GetError
 
impl From<DecodeError> for GetError
source§fn from(value: DecodeError) -> Self
 
fn from(value: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<GetError> for FailureAction
Available on crate feature downloader only. 
impl From<GetError> for FailureAction
Available on crate feature 
downloader only.source§impl From<ProgressSendError> for GetError
 
impl From<ProgressSendError> for GetError
source§fn from(value: ProgressSendError) -> Self
 
fn from(value: ProgressSendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetError
impl RefUnwindSafe for GetError
impl Send for GetError
impl Sync for GetError
impl Unpin for GetError
impl UnwindSafe for GetError
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