Trait ConnectorTransportProtocolInputExt
pub trait ConnectorTransportProtocolInputExt:
TransportProtocolInputExt
+ ExtensionsRef
+ TransportSealed {
// Provided method
fn connector_transport_protocol(&self) -> Option<TransportProtocol> { ... }
}Available on crate feature
net only.Expand description
Resolve the physical transport protocol a connector should establish.
The ordinary TransportProtocolInputExt remains the input’s logical
transport. Connector-routing layers can overwrite only the physical route
by inserting ConnectorTransportProtocol.
Provided Methods§
fn connector_transport_protocol(&self) -> Option<TransportProtocol>
fn connector_transport_protocol(&self) -> Option<TransportProtocol>
The physical connector transport override, then the logical transport.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T> ConnectorTransportProtocolInputExt for T
Available on crate feature
std only.