pub enum QpackFieldLineParseError {
DispatchIncomplete,
IndexedIndex(QpackIntegerParseError),
IndexedPostBaseIndex(QpackIntegerParseError),
LiteralNameReferenceNameIndex(QpackIntegerParseError),
LiteralNameReferenceValue(QpackStringLiteralParseError),
LiteralPostBaseNameReferenceNameIndex(QpackIntegerParseError),
LiteralPostBaseNameReferenceValue(QpackStringLiteralParseError),
LiteralNameName(QpackStringLiteralParseError),
LiteralNameValue(QpackStringLiteralParseError),
RequiredLengthOverflow,
}Expand description
An error returned while parsing a QPACK field line.
Variants§
DispatchIncomplete
The input did not contain a field-line dispatch byte.
IndexedIndex(QpackIntegerParseError)
The indexed field-line index could not be parsed.
Tuple Fields
0: QpackIntegerParseErrorThe integer parsing error.
IndexedPostBaseIndex(QpackIntegerParseError)
The indexed post-base field-line index could not be parsed.
Tuple Fields
0: QpackIntegerParseErrorThe integer parsing error.
LiteralNameReferenceNameIndex(QpackIntegerParseError)
The literal name-reference index could not be parsed.
Tuple Fields
0: QpackIntegerParseErrorThe integer parsing error.
LiteralNameReferenceValue(QpackStringLiteralParseError)
The literal name-reference value could not be parsed.
Tuple Fields
0: QpackStringLiteralParseErrorThe string-literal parsing error.
LiteralPostBaseNameReferenceNameIndex(QpackIntegerParseError)
The literal post-base name-reference index could not be parsed.
Tuple Fields
0: QpackIntegerParseErrorThe integer parsing error.
LiteralPostBaseNameReferenceValue(QpackStringLiteralParseError)
The literal post-base name-reference value could not be parsed.
Tuple Fields
0: QpackStringLiteralParseErrorThe string-literal parsing error.
LiteralNameName(QpackStringLiteralParseError)
The literal field name could not be parsed.
Tuple Fields
0: QpackStringLiteralParseErrorThe string-literal parsing error.
LiteralNameValue(QpackStringLiteralParseError)
The literal field value could not be parsed.
Tuple Fields
0: QpackStringLiteralParseErrorThe string-literal parsing error.
RequiredLengthOverflow
The combined component lengths overflowed usize.