pub enum QpackDecoderInstructionsApplyError {
Parse(QpackDecoderInstructionsParseError),
Apply {
offset: usize,
error: QpackDecoderInstructionApplyError,
},
}Expand description
Failure to validate or apply a QPACK decoder-stream instruction sequence.
Variants§
Parse(QpackDecoderInstructionsParseError)
The complete sequence is malformed before application begins.
Apply
Applying one validated instruction failed at this absolute byte offset.
Fields
§
error: QpackDecoderInstructionApplyErrorThe instruction application failure.
Implementations§
Source§impl QpackDecoderInstructionsApplyError
impl QpackDecoderInstructionsApplyError
Sourcepub const fn is_decoder_stream_error(self) -> bool
pub const fn is_decoder_stream_error(self) -> bool
Returns whether this failure is a QPACK decoder-stream error.
Trait Implementations§
impl Copy for QpackDecoderInstructionsApplyError
impl Eq for QpackDecoderInstructionsApplyError
Source§impl Error for QpackDecoderInstructionsApplyError
impl Error for QpackDecoderInstructionsApplyError
1.30.0 · 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()
impl StructuralPartialEq for QpackDecoderInstructionsApplyError
Auto Trait Implementations§
impl Freeze for QpackDecoderInstructionsApplyError
impl RefUnwindSafe for QpackDecoderInstructionsApplyError
impl Send for QpackDecoderInstructionsApplyError
impl Sync for QpackDecoderInstructionsApplyError
impl Unpin for QpackDecoderInstructionsApplyError
impl UnsafeUnpin for QpackDecoderInstructionsApplyError
impl UnwindSafe for QpackDecoderInstructionsApplyError
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