Skip to main content

MsgId

Trait MsgId 

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

This should be derived with crate::MsgId.

Required Associated Constants§

Source

const ID: &'static str

ID should be a short identifier to uniquely identify a message type on a server.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§