pub enum QuicTransportParametersTlsExtensionError {
WrongExtensionType {
actual: TlsExtensionType,
},
Parse(QuicTransportParameterParseError),
}Expand description
Failure to interpret a TLS extension as RFC 9001 QUIC transport parameters.
Variants§
WrongExtensionType
The TLS extension has a type other than quic_transport_parameters.
Fields
§
actual: TlsExtensionTypeExact type carried by the TLS extension.
Parse(QuicTransportParameterParseError)
The extension payload is not a valid QUIC transport-parameter sequence.
Trait Implementations§
impl Copy for QuicTransportParametersTlsExtensionError
Source§impl Display for QuicTransportParametersTlsExtensionError
Available on crate feature tls only.
impl Display for QuicTransportParametersTlsExtensionError
Available on crate feature
tls only.impl Eq for QuicTransportParametersTlsExtensionError
impl StructuralPartialEq for QuicTransportParametersTlsExtensionError
Auto Trait Implementations§
impl Freeze for QuicTransportParametersTlsExtensionError
impl RefUnwindSafe for QuicTransportParametersTlsExtensionError
impl Send for QuicTransportParametersTlsExtensionError
impl Sync for QuicTransportParametersTlsExtensionError
impl Unpin for QuicTransportParametersTlsExtensionError
impl UnsafeUnpin for QuicTransportParametersTlsExtensionError
impl UnwindSafe for QuicTransportParametersTlsExtensionError
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