Trait canadensis_core::transport::Transport
source · [−]pub trait Transport {
type NodeId: Debug + Clone + PartialEq + 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
type TransferId: TransferId
type TransferId: TransferId
A transfer ID type that can hold all supported transfer ID values