Expand description
Open/closed transport-kind registry.
Each transport (inproc, mock, and future tcp/quic/ws
crates) submits a TransportKind implementation via the
[register_transport!] macro. The public crate::connect and
crate::listen entry points iterate registered kinds to find the
one whose schemes() contains the URL’s scheme.
Adding a new transport means adding a crate that calls
register_transport! — no edits to existing code, mirroring the
confium-core::ffi::registry pattern used for crypto interfaces.
Structs§
- Registered
Transport - Wrapper around
&'static dyn TransportKindso the kind can be registered withinventoryand discovered at link time.
Traits§
- Transport
Kind - Factory for a family of transport schemes.