Enum iroh_blobs::get::fsm::AtBlobHeaderNextError
source · pub enum AtBlobHeaderNextError {
NotFound,
Read(ReadError),
Io(Error),
}
Expand description
Error that you can get from AtBlobHeader::next
Variants§
NotFound
Eof when reading the size header
This indicates that the provider does not have the requested data.
Read(ReadError)
Quinn read error when reading the size header
Io(Error)
Generic io error
Trait Implementations§
source§impl Debug for AtBlobHeaderNextError
impl Debug for AtBlobHeaderNextError
source§impl Display for AtBlobHeaderNextError
impl Display for AtBlobHeaderNextError
source§impl Error for AtBlobHeaderNextError
impl Error for AtBlobHeaderNextError
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()
source§impl From<AtBlobHeaderNextError> for DecodeError
impl From<AtBlobHeaderNextError> for DecodeError
source§fn from(cause: AtBlobHeaderNextError) -> Self
fn from(cause: AtBlobHeaderNextError) -> Self
Converts to this type from the input type.
source§impl From<AtBlobHeaderNextError> for Error
impl From<AtBlobHeaderNextError> for Error
source§fn from(cause: AtBlobHeaderNextError) -> Self
fn from(cause: AtBlobHeaderNextError) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl !Freeze for AtBlobHeaderNextError
impl !RefUnwindSafe for AtBlobHeaderNextError
impl Send for AtBlobHeaderNextError
impl Sync for AtBlobHeaderNextError
impl Unpin for AtBlobHeaderNextError
impl !UnwindSafe for AtBlobHeaderNextError
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