pub enum QuicTransportParameterSemanticError {
Structural {
error: QuicTransportParameterParseError,
},
Value {
id: QuicTransportParameterId,
offset: usize,
error: QuicTransportParameterValueError,
},
ForbiddenSender {
id: QuicTransportParameterId,
offset: usize,
},
BelowMinimum {
id: QuicTransportParameterId,
offset: usize,
value: u64,
minimum: u64,
},
AboveMaximum {
id: QuicTransportParameterId,
offset: usize,
value: u64,
maximum: u64,
},
}Expand description
Failure to validate present RFC 9000 version-1 transport parameters.
Tuple offsets are absolute offsets from the start of the transport-parameter extension payload.
Variants§
Structural
A structurally validated parameter no longer parses during validation.
Fields
§
error: QuicTransportParameterParseErrorExact structural parsing failure.
Value
A known parameter has an invalid RFC 9000 payload layout.
Fields
§
id: QuicTransportParameterIdDecoded parameter identifier.
§
error: QuicTransportParameterValueErrorExact typed payload failure.
ForbiddenSender
A client sent a parameter reserved for servers.
Fields
§
id: QuicTransportParameterIdDecoded parameter identifier.
BelowMinimum
An integer parameter is below its RFC 9000 minimum.
Fields
§
id: QuicTransportParameterIdDecoded parameter identifier.
AboveMaximum
An integer parameter exceeds its RFC 9000 maximum.
Trait Implementations§
impl Copy for QuicTransportParameterSemanticError
impl Eq for QuicTransportParameterSemanticError
impl StructuralPartialEq for QuicTransportParameterSemanticError
Auto Trait Implementations§
impl Freeze for QuicTransportParameterSemanticError
impl RefUnwindSafe for QuicTransportParameterSemanticError
impl Send for QuicTransportParameterSemanticError
impl Sync for QuicTransportParameterSemanticError
impl Unpin for QuicTransportParameterSemanticError
impl UnsafeUnpin for QuicTransportParameterSemanticError
impl UnwindSafe for QuicTransportParameterSemanticError
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