pub trait TransportKind: Sealed {
type OrderingGuarantee: Ordering;
type ConsistencyGuarantee: Consistency;
// Required method
fn networking_info() -> NetworkingInfo;
}Expand description
A transport backend for network channels.
Required Associated Types§
Sourcetype OrderingGuarantee: Ordering
type OrderingGuarantee: Ordering
The ordering guarantee provided by this transport.
Sourcetype ConsistencyGuarantee: Consistency
type ConsistencyGuarantee: Consistency
The consistency guarantee this transport can preserve for replicated outputs
(see NetworkFor::ConsistencyGuarantee).
Required Methods§
Sourcefn networking_info() -> NetworkingInfo
fn networking_info() -> NetworkingInfo
Returns the NetworkingInfo describing this transport’s configuration.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".