pub enum QpackFieldSectionPrefixBuildError {
RequiredInsertCount(QpackIntegerBuildError),
DeltaBase(QpackIntegerBuildError),
RequiredLengthOverflow,
BufferTooShort {
required: usize,
available: usize,
},
}Expand description
Failure to build a QPACK encoded field-section prefix.
Variants§
RequiredInsertCount(QpackIntegerBuildError)
The Encoded Required Insert Count value is invalid.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested Required Insert Count failure.
DeltaBase(QpackIntegerBuildError)
The Delta Base value is invalid.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested Delta Base failure.
RequiredLengthOverflow
Computing the complete prefix length overflowed usize.
BufferTooShort
The caller destination cannot contain the complete prefix.
Trait Implementations§
impl Copy for QpackFieldSectionPrefixBuildError
impl Eq for QpackFieldSectionPrefixBuildError
Source§impl Error for QpackFieldSectionPrefixBuildError
impl Error for QpackFieldSectionPrefixBuildError
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 QpackFieldSectionPrefixBuildError
Auto Trait Implementations§
impl Freeze for QpackFieldSectionPrefixBuildError
impl RefUnwindSafe for QpackFieldSectionPrefixBuildError
impl Send for QpackFieldSectionPrefixBuildError
impl Sync for QpackFieldSectionPrefixBuildError
impl Unpin for QpackFieldSectionPrefixBuildError
impl UnsafeUnpin for QpackFieldSectionPrefixBuildError
impl UnwindSafe for QpackFieldSectionPrefixBuildError
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