usecrate::{NodeId, SyncMessage, ZamResult};pubtraitTransport{/// Encodes and sends `message` to `peer_id`. Returns the number of bytes
/// written to the wire so callers can track bandwidth consumption.
fnsend(&mutself, peer_id: NodeId, message:&SyncMessage)->ZamResult<usize>;fnreceive(&mutself)->ZamResult<Option<(NodeId, SyncMessage)>>;}