pub trait Transport: TransportCore {
// Required methods
fn send_msg_to_replica(&self, index: ReplicaIndex, msg: Self::Msg);
fn send_msg_to_all(&self, msg: Self::Msg);
}Expand description
Designing everything for a pratical system is hard. Designing everything
correctly is impossible. That’s why a versioned spec module is prepared.
At any time top level module does wildcard re-exporting from the latest
version of spec. To survive from a breaking change, change use crate::*
to use crate::spec::v1::*.