OpaqueProtocolMessage

Trait OpaqueProtocolMessage 

Source
pub trait OpaqueProtocolMessage<PT: ProtocolTypes>:
    Clone
    + Debug
    + 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)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§