1 2 3 4 5 6 7 8 9 10 11 12 13
mod service_id; mod timestamp; pub use service_id::ServiceId; pub use timestamp::Timestamp; pub trait MsgMeta { fn ts(&self) -> Timestamp; fn source(&self) -> ServiceId; fn source_set(&mut self, service_id: ServiceId); }