Struct s2n_quic_transport::endpoint::Context
source · [−]pub struct Context<'a, Cfg: Config> {
pub congestion_controller: &'a mut Cfg::CongestionControllerEndpoint,
pub connection_id_format: &'a mut Cfg::ConnectionIdFormat,
pub stateless_reset_token_generator: &'a mut Cfg::StatelessResetTokenGenerator,
pub random_generator: &'a mut Cfg::RandomGenerator,
pub tls: &'a mut Cfg::TLSEndpoint,
pub endpoint_limits: &'a mut Cfg::EndpointLimits,
pub token: &'a mut Cfg::TokenFormat,
pub connection_limits: &'a mut Cfg::ConnectionLimits,
pub connection_close_formatter: &'a mut Cfg::ConnectionCloseFormatter,
pub event_subscriber: &'a mut Cfg::EventSubscriber,
pub path_migration: &'a mut Cfg::PathMigrationValidator,
}
Fields
congestion_controller: &'a mut Cfg::CongestionControllerEndpoint
The congestion controller endpoint associated with the endpoint config
connection_id_format: &'a mut Cfg::ConnectionIdFormat
The connection id format associated with the endpoint config
stateless_reset_token_generator: &'a mut Cfg::StatelessResetTokenGenerator
The stateless reset token generator associated with the endpoint config
random_generator: &'a mut Cfg::RandomGenerator
The random data generator associated with the endpoint config
tls: &'a mut Cfg::TLSEndpoint
The TLS endpoint associated with the endpoint config
endpoint_limits: &'a mut Cfg::EndpointLimits
The endpoint limits
token: &'a mut Cfg::TokenFormat
Token generator / validator
connection_limits: &'a mut Cfg::ConnectionLimits
The connection limits
connection_close_formatter: &'a mut Cfg::ConnectionCloseFormatter
event_subscriber: &'a mut Cfg::EventSubscriber
path_migration: &'a mut Cfg::PathMigrationValidator
Trait Implementations
sourceimpl<'a, Cfg: Debug + Config> Debug for Context<'a, Cfg> where
Cfg::CongestionControllerEndpoint: Debug,
Cfg::ConnectionIdFormat: Debug,
Cfg::StatelessResetTokenGenerator: Debug,
Cfg::RandomGenerator: Debug,
Cfg::TLSEndpoint: Debug,
Cfg::EndpointLimits: Debug,
Cfg::TokenFormat: Debug,
Cfg::ConnectionLimits: Debug,
Cfg::ConnectionCloseFormatter: Debug,
Cfg::EventSubscriber: Debug,
Cfg::PathMigrationValidator: Debug,
impl<'a, Cfg: Debug + Config> Debug for Context<'a, Cfg> where
Cfg::CongestionControllerEndpoint: Debug,
Cfg::ConnectionIdFormat: Debug,
Cfg::StatelessResetTokenGenerator: Debug,
Cfg::RandomGenerator: Debug,
Cfg::TLSEndpoint: Debug,
Cfg::EndpointLimits: Debug,
Cfg::TokenFormat: Debug,
Cfg::ConnectionLimits: Debug,
Cfg::ConnectionCloseFormatter: Debug,
Cfg::EventSubscriber: Debug,
Cfg::PathMigrationValidator: Debug,
Auto Trait Implementations
impl<'a, Cfg> RefUnwindSafe for Context<'a, Cfg> where
<Cfg as Config>::CongestionControllerEndpoint: RefUnwindSafe,
<Cfg as Config>::ConnectionCloseFormatter: RefUnwindSafe,
<Cfg as Config>::ConnectionIdFormat: RefUnwindSafe,
<Cfg as Config>::ConnectionLimits: RefUnwindSafe,
<Cfg as Config>::EndpointLimits: RefUnwindSafe,
<Cfg as Config>::EventSubscriber: RefUnwindSafe,
<Cfg as Config>::PathMigrationValidator: RefUnwindSafe,
<Cfg as Config>::RandomGenerator: RefUnwindSafe,
<Cfg as Config>::StatelessResetTokenGenerator: RefUnwindSafe,
<Cfg as Config>::TLSEndpoint: RefUnwindSafe,
<Cfg as Config>::TokenFormat: RefUnwindSafe,
impl<'a, Cfg> Send for Context<'a, Cfg>
impl<'a, Cfg> Sync for Context<'a, Cfg> where
<Cfg as Config>::CongestionControllerEndpoint: Sync,
<Cfg as Config>::ConnectionCloseFormatter: Sync,
<Cfg as Config>::ConnectionIdFormat: Sync,
<Cfg as Config>::ConnectionLimits: Sync,
<Cfg as Config>::EndpointLimits: Sync,
<Cfg as Config>::EventSubscriber: Sync,
<Cfg as Config>::PathMigrationValidator: Sync,
<Cfg as Config>::RandomGenerator: Sync,
<Cfg as Config>::StatelessResetTokenGenerator: Sync,
<Cfg as Config>::TLSEndpoint: Sync,
<Cfg as Config>::TokenFormat: Sync,
impl<'a, Cfg> Unpin for Context<'a, Cfg>
impl<'a, Cfg> !UnwindSafe for Context<'a, Cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more