pub trait Transport {
    type NodeId: Debug + Clone + PartialEq<Self::NodeId> + Eq + Hash + Into<usize> + TryFrom<u16>;
    type TransferId: TransferId;
    type Priority: Clone + Debug + From<Priority>;
}
Expand description

Basic requirements for a transport that can be used to send and receive transfers

The Transmitter and Receiver sub-traits add additional functions.

Associated Types

A node ID type that can hold the node ID values that this transport allows

A transfer ID type that can hold all supported transfer ID values

A priority type that can hold all supported priority values

Implementors