Macro ssp::impl_message_ops
source · macro_rules! impl_message_ops { ($name:ident) => { ... }; ($name:ident, $msg_type:ident::$variant:tt) => { ... }; }
Expand description
Implements the defaults of the MessageOps trait for a named message type.
The type must have a buf data member that can be converted to a slice.