pub enum QpackFieldSectionPlanError {
StaticIndexOutOfRange {
field_index: usize,
index: u64,
},
DynamicReference {
field_index: usize,
error: QpackDynamicTableError,
},
FieldLine {
field_index: usize,
error: QpackFieldLineBuildError,
},
}Expand description
A field-specific planning failure.
Variants§
StaticIndexOutOfRange
A static-table index is outside RFC 9204 Appendix A.
DynamicReference
A dynamic absolute index cannot be resolved from the active dynamic table.
Fields
§
error: QpackDynamicTableErrorNested dynamic-table lookup failure.
FieldLine
A field-line wire representation cannot be planned.
Fields
§
error: QpackFieldLineBuildErrorNested field-line planning failure.
Trait Implementations§
Source§impl Clone for QpackFieldSectionPlanError
impl Clone for QpackFieldSectionPlanError
impl Copy for QpackFieldSectionPlanError
Source§impl Debug for QpackFieldSectionPlanError
impl Debug for QpackFieldSectionPlanError
Source§impl Display for QpackFieldSectionPlanError
impl Display for QpackFieldSectionPlanError
impl Eq for QpackFieldSectionPlanError
Source§impl Error for QpackFieldSectionPlanError
impl Error for QpackFieldSectionPlanError
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 QpackFieldSectionPlanError
Auto Trait Implementations§
impl Freeze for QpackFieldSectionPlanError
impl RefUnwindSafe for QpackFieldSectionPlanError
impl Send for QpackFieldSectionPlanError
impl Sync for QpackFieldSectionPlanError
impl Unpin for QpackFieldSectionPlanError
impl UnsafeUnpin for QpackFieldSectionPlanError
impl UnwindSafe for QpackFieldSectionPlanError
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