Trait puffin::protocol::OpaqueProtocolMessage

source ·
pub trait OpaqueProtocolMessage<PT: ProtocolTypes>:
    Clone
    + Debug
    + Codec
    + EvaluatedTerm<PT> {
    // Required method
    fn debug(&self, info: &str);
}
Expand description

A non-structured version of ProtocolMessage. This can be used for example for encrypted messages which do not have a structure.

Required Methods§

source

fn debug(&self, info: &str)

Object Safety§

This trait is not object safe.

Implementors§