Trait s2n_quic_tls::ConfigLoader

source ·
pub trait ConfigLoader: 'static + Send {
    // Required method
    fn load(&mut self, cx: ConnectionContext<'_>) -> Config;
}
Expand description

Loads a config for a given connection

This trait can be implemented to override the default config loading for a QUIC endpoint

Required Methods§

source

fn load(&mut self, cx: ConnectionContext<'_>) -> Config

Trait Implementations§

Implementations on Foreign Types§

source§

impl ConfigLoader for Box<dyn ConfigLoader>

source§

fn load(&mut self, cx: ConnectionContext<'_>) -> Config

Implementors§