Skip to main content

ConnectionIdGeneratorFactory

Type Alias ConnectionIdGeneratorFactory 

pub type ConnectionIdGeneratorFactory = Arc<dyn Fn() -> Box<dyn ConnectionIdGenerator> + Sync + Send>;
Available on crate features quic and std only.
Expand description

How an endpoint makes a connection ID generator: one call per endpoint, so each has its own state.

Aliased Type§

pub struct ConnectionIdGeneratorFactory { /* private fields */ }