Trait DynamicConfigProvider

pub trait DynamicConfigProvider:
    Send
    + Sync
    + 'static {
    // Required method
    fn get_config(
        &self,
        client_hello: ClientHello<'_>,
    ) -> impl Future<Output = Result<Arc<ServerConfig>, OpaqueError>> + Send;
}

Required Methods§

fn get_config( &self, client_hello: ClientHello<'_>, ) -> impl Future<Output = Result<Arc<ServerConfig>, OpaqueError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§