MessageID

Trait MessageID 

Source
pub trait MessageID {
    const ID: &'static str;
}
Expand description

§MessageID

Every foreign message is required to have a unique ID. This is automatically populated by the message proc macro.

Required Associated Constants§

Source

const ID: &'static 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§