pub enum Http3QpackFieldSectionError {
DecompressionFailed(QpackFieldSectionDecodeError),
OutputProvisioning(QpackFieldSectionDecodeError),
}Expand description
Failure while decoding a QPACK field section carried by an HTTP/3 frame.
Self::DecompressionFailed is a peer-caused HTTP/3 connection error.
Self::OutputProvisioning reports insufficient caller output storage and is local, so it
must not be sent as an HTTP/3 peer error.
Variants§
DecompressionFailed(QpackFieldSectionDecodeError)
The peer’s field section failed QPACK decompression.
OutputProvisioning(QpackFieldSectionDecodeError)
Caller-provided decoded-field output was insufficient.
Implementations§
Source§impl Http3QpackFieldSectionError
impl Http3QpackFieldSectionError
Sourcepub const fn error_code(self) -> Option<Http3ErrorCode>
pub const fn error_code(self) -> Option<Http3ErrorCode>
Returns the HTTP/3 connection error code when this failure is peer-caused.
Trait Implementations§
Source§impl Clone for Http3QpackFieldSectionError
impl Clone for Http3QpackFieldSectionError
impl Copy for Http3QpackFieldSectionError
Source§impl Debug for Http3QpackFieldSectionError
impl Debug for Http3QpackFieldSectionError
impl Eq for Http3QpackFieldSectionError
Source§impl Error for Http3QpackFieldSectionError
impl Error for Http3QpackFieldSectionError
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<QpackFieldSectionDecodeError> for Http3QpackFieldSectionError
impl From<QpackFieldSectionDecodeError> for Http3QpackFieldSectionError
Source§fn from(error: QpackFieldSectionDecodeError) -> Self
fn from(error: QpackFieldSectionDecodeError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Http3QpackFieldSectionError
Auto Trait Implementations§
impl Freeze for Http3QpackFieldSectionError
impl RefUnwindSafe for Http3QpackFieldSectionError
impl Send for Http3QpackFieldSectionError
impl Sync for Http3QpackFieldSectionError
impl Unpin for Http3QpackFieldSectionError
impl UnsafeUnpin for Http3QpackFieldSectionError
impl UnwindSafe for Http3QpackFieldSectionError
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