Skip to main content

ConnectionProfileBindings

Trait ConnectionProfileBindings 

pub trait ConnectionProfileBindings<Input>: Send + 'static {
    // Required method
    fn check(&self, input: &Input) -> Result<(), Box<dyn Error + Send + Sync>>;
}
Available on crate features std and ua only.
Expand description

Adapter-owned input requirements, checked before profile facts are published.

Return () when the compiler needs no additional binding. These checks concern admission inputs, not serialized ClientHello or packet comparisons. Place the UA modifier around transport when its checks must precede TLS output.

Required Methods§

fn check(&self, input: &Input) -> Result<(), Box<dyn Error + Send + Sync>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl<Input> ConnectionProfileBindings<Input> for ()

§

fn check(&self, _input: &Input) -> Result<(), Box<dyn Error + Send + Sync>>

Implementors§