pub trait ProtocolMessage<Mt: Matcher, O: OpaqueProtocolMessage<Mt>>: Clone + Debug + ExtractKnowledge<Mt> {
    fn create_opaque(&self) -> O;
    fn debug(&self, info: &str);
}
Expand description

A structured message. This type defines how all possible messages of a protocol. Usually this is implemented using an enum.

Required Methods§

Implementors§