Skip to main content

Id

Trait Id 

Source
pub trait Id:
    Clone
    + Ord
    + Into<usize>
    + TryFrom<IdReprType>
    + Debug
    + IntoEnumIterator { }
Expand description

Unique ID for each global message type used in a given session context.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl Id for apis::example::session_a::MessageId

Source§

impl Id for apis::example::session_b::MessageId