pub enum QuicTransportParameterHandshakeContext<'a> {
Client {
initial_source_connection_id: &'a [u8],
},
Server {
initial_source_connection_id: &'a [u8],
original_destination_connection_id: &'a [u8],
retry_source_connection_id: Option<&'a [u8]>,
},
}Expand description
Packet-derived connection IDs used to validate an RFC 9000 handshake transport-parameter set.
Each ID is from the first Initial packet in the direction named by RFC 9000 section 7.3.
For Self::Server, Some(retry_source_connection_id) means the client received a Retry;
its value is that Retry packet’s source connection ID.
Variants§
Client
Context for transport parameters sent by a client.
Fields
Server
Context for transport parameters sent by a server.
Trait Implementations§
Source§impl<'a> Clone for QuicTransportParameterHandshakeContext<'a>
impl<'a> Clone for QuicTransportParameterHandshakeContext<'a>
impl<'a> Copy for QuicTransportParameterHandshakeContext<'a>
Source§impl<'a> Debug for QuicTransportParameterHandshakeContext<'a>
impl<'a> Debug for QuicTransportParameterHandshakeContext<'a>
impl<'a> Eq for QuicTransportParameterHandshakeContext<'a>
Source§impl<'a> PartialEq for QuicTransportParameterHandshakeContext<'a>
impl<'a> PartialEq for QuicTransportParameterHandshakeContext<'a>
impl<'a> StructuralPartialEq for QuicTransportParameterHandshakeContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuicTransportParameterHandshakeContext<'a>
impl<'a> RefUnwindSafe for QuicTransportParameterHandshakeContext<'a>
impl<'a> Send for QuicTransportParameterHandshakeContext<'a>
impl<'a> Sync for QuicTransportParameterHandshakeContext<'a>
impl<'a> Unpin for QuicTransportParameterHandshakeContext<'a>
impl<'a> UnsafeUnpin for QuicTransportParameterHandshakeContext<'a>
impl<'a> UnwindSafe for QuicTransportParameterHandshakeContext<'a>
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