IndexbusMsgSpec

Trait IndexbusMsgSpec 

Source
pub trait IndexbusMsgSpec {
    const META: MsgMeta;
}
Expand description

Compile-time message identity.

This exists to avoid repeating MsgMeta::new(...) at every publish/recv call-site.

Layering note: this is defined in indexbus-typed (not indexbus-core) to keep Layer 0 explicit and stable.

Required Associated Constants§

Source

const META: MsgMeta

Compile-time message identity.

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§