Skip to main content

TransportKind

Trait TransportKind 

Source
pub trait TransportKind: Sealed {
    type OrderingGuarantee: Ordering;

    // Required method
    fn networking_info() -> NetworkingInfo;
}
Expand description

A transport backend for network channels.

Required Associated Types§

Source

type OrderingGuarantee: Ordering

The ordering guarantee provided by this transport.

Required Methods§

Source

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§