Trait s2n_quic_transport::endpoint::Config
source · [−]pub trait Config: 'static + Send + Sized + Debug {
Show 17 associated items
type TLSEndpoint: Endpoint;
type CongestionControllerEndpoint: Endpoint;
type Connection: Trait<Config = Self>;
type ConnectionLock: Lock<Self::Connection>;
type ConnectionIdFormat: Format;
type StatelessResetTokenGenerator: Generator;
type RandomGenerator: Generator;
type TokenFormat: Format;
type EndpointLimits: Limiter;
type ConnectionLimits: Limiter;
type Stream: StreamTrait;
type ConnectionCloseFormatter: Formatter;
type EventSubscriber: Subscriber;
type PathHandle: Handle;
type PathMigrationValidator: Validator;
const ENDPOINT_TYPE: Type;
fn context(&mut self) -> Context<'_, Self>;
}
Expand description
Configuration parameters for a QUIC endpoint
Associated Types
type TLSEndpoint: Endpoint
type TLSEndpoint: Endpoint
The type of the TLS endpoint which is utilized
type Connection: Trait<Config = Self>
type Connection: Trait<Config = Self>
The connections type
type ConnectionLock: Lock<Self::Connection>
type ConnectionLock: Lock<Self::Connection>
The type of lock that synchronizes connection state between threads
The connection ID format
The stateless reset token generator
The random data generator
type TokenFormat: Format
type TokenFormat: Format
The validation token format
type EndpointLimits: Limiter
type EndpointLimits: Limiter
The endpoint limits
The connection limits
type Stream: StreamTrait
type Stream: StreamTrait
The type of stream
The connection close formatter
The event subscriber
type PathHandle: Handle
type PathHandle: Handle
The type by which paths are identified
The path migration validator for the endpoint
Associated Constants
const ENDPOINT_TYPE: Type
const ENDPOINT_TYPE: Type
The type of the local endpoint