Message

Trait Message 

Source
pub trait Message<CTX: Context>:
    Send
    + Debug
    + TryFrom<CTX::GMSG>
    + Into<CTX::GMSG> {
    // Required method
    fn name(&self) -> String;
}
Expand description

A local message type with partial mapping from global message type and total mapping into global message type.

Required Methods§

Source

fn name(&self) -> String

Get the message name

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§