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".
Implementors§
Source§impl TransportKind for EmbeddedTransport<FailStop>
For each sender, an in-order prefix of the messages it sent.
impl TransportKind for EmbeddedTransport<FailStop>
For each sender, an in-order prefix of the messages it sent.
Source§impl TransportKind for EmbeddedTransport<Lossy>
Each sender’s messages in order, any of which may be dropped.
impl TransportKind for EmbeddedTransport<Lossy>
Each sender’s messages in order, any of which may be dropped.
Source§impl TransportKind for EmbeddedTransport<LossyDelayedForever>
Messages in any order; a message never delivered counts as delayed forever.
impl TransportKind for EmbeddedTransport<LossyDelayedForever>
Messages in any order; a message never delivered counts as delayed forever.