Skip to main content

CompiledConnectionProfile

Trait CompiledConnectionProfile 

pub trait CompiledConnectionProfile: Send + 'static {
    // Required method
    fn supports(&self, component: CapturedSlotKind) -> bool;
}
Available on crate features std and ua only.
Expand description

Owned backend output admitted before a connection can open.

Implementations report only components they actually prepared. Neither profile archives nor caller-supplied capability flags establish that claim. The UA modifier consumes this output before invoking its native connector.

Required Methods§

fn supports(&self, component: CapturedSlotKind) -> bool

Whether this output implements the selected component’s wire properties.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

§

impl CompiledConnectionProfile for ()

§

fn supports(&self, _component: CapturedSlotKind) -> bool

Implementors§

§

impl CompiledConnectionProfile for rama::quic::profile::replay::CompiledConnection

§

impl CompiledConnectionProfile for rama::tls::boring::client::profile::compiler::CompiledConnection