Enum iroh_blobs::get::fsm::ConnectedNextError
source · pub enum ConnectedNextError {
PostcardSer(Error),
RequestTooBig,
Write(WriteError),
Closed(ClosedStream),
Io(Error),
}
Expand description
Error that you can get from AtConnected::next
Variants§
PostcardSer(Error)
Error when serializing the request
RequestTooBig
The serialized request is too long to be sent
Write(WriteError)
Error when writing the request to the [SendStream
].
Closed(ClosedStream)
Quic connection is closed.
Io(Error)
A generic io error
Trait Implementations§
source§impl Debug for ConnectedNextError
impl Debug for ConnectedNextError
source§impl Display for ConnectedNextError
impl Display for ConnectedNextError
source§impl Error for ConnectedNextError
impl Error for ConnectedNextError
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<ClosedStream> for ConnectedNextError
impl From<ClosedStream> for ConnectedNextError
source§impl From<ConnectedNextError> for Error
impl From<ConnectedNextError> for Error
source§fn from(cause: ConnectedNextError) -> Self
fn from(cause: ConnectedNextError) -> 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.
Auto Trait Implementations§
impl !Freeze for ConnectedNextError
impl !RefUnwindSafe for ConnectedNextError
impl Send for ConnectedNextError
impl Sync for ConnectedNextError
impl Unpin for ConnectedNextError
impl !UnwindSafe for ConnectedNextError
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