pub struct TransportParams {Show 17 fields
pub original_destination_connection_id: Option<ConnectionId<'static>>,
pub max_idle_timeout: u64,
pub stateless_reset_token: Option<u128>,
pub max_udp_payload_size: u64,
pub initial_max_data: u64,
pub initial_max_stream_data_bidi_local: u64,
pub initial_max_stream_data_bidi_remote: u64,
pub initial_max_stream_data_uni: u64,
pub initial_max_streams_bidi: u64,
pub initial_max_streams_uni: u64,
pub ack_delay_exponent: u64,
pub max_ack_delay: u64,
pub disable_active_migration: bool,
pub active_conn_id_limit: u64,
pub initial_source_connection_id: Option<ConnectionId<'static>>,
pub retry_source_connection_id: Option<ConnectionId<'static>>,
pub max_datagram_frame_size: Option<u64>,
}
Expand description
QUIC Transport Parameters
Fields§
§original_destination_connection_id: Option<ConnectionId<'static>>
Value of Destination CID field from first Initial packet sent by client
max_idle_timeout: u64
The maximum idle timeout.
stateless_reset_token: Option<u128>
Token used for verifying stateless resets
max_udp_payload_size: u64
The maximum UDP payload size.
initial_max_data: u64
The initial flow control maximum data for the connection.
initial_max_stream_data_bidi_local: u64
The initial flow control maximum data for local bidirectional streams.
initial_max_stream_data_bidi_remote: u64
The initial flow control maximum data for remote bidirectional streams.
initial_max_stream_data_uni: u64
The initial flow control maximum data for unidirectional streams.
initial_max_streams_bidi: u64
The initial maximum bidirectional streams.
initial_max_streams_uni: u64
The initial maximum unidirectional streams.
ack_delay_exponent: u64
The ACK delay exponent.
max_ack_delay: u64
The max ACK delay.
disable_active_migration: bool
Whether active migration is disabled.
active_conn_id_limit: u64
The active connection ID limit.
initial_source_connection_id: Option<ConnectionId<'static>>
The value that the endpoint included in the Source CID field of a Retry Packet.
retry_source_connection_id: Option<ConnectionId<'static>>
The value that the server included in the Source CID field of a Retry Packet.
max_datagram_frame_size: Option<u64>
DATAGRAM frame extension parameter, if any.
Implementations§
Source§impl TransportParams
impl TransportParams
Sourcepub fn to_qlog(
&self,
owner: TransportOwner,
cipher: Option<Algorithm>,
) -> EventData
pub fn to_qlog( &self, owner: TransportOwner, cipher: Option<Algorithm>, ) -> EventData
Creates a qlog event for connection transport parameters and TLS fields
Trait Implementations§
Source§impl Clone for TransportParams
impl Clone for TransportParams
Source§fn clone(&self) -> TransportParams
fn clone(&self) -> TransportParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TransportParams
impl Debug for TransportParams
Source§impl Default for TransportParams
impl Default for TransportParams
Source§fn default() -> TransportParams
fn default() -> TransportParams
Source§impl PartialEq for TransportParams
impl PartialEq for TransportParams
impl StructuralPartialEq for TransportParams
Auto Trait Implementations§
impl Freeze for TransportParams
impl RefUnwindSafe for TransportParams
impl Send for TransportParams
impl Sync for TransportParams
impl Unpin for TransportParams
impl UnwindSafe for TransportParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more