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