Trait CodecId
pub trait CodecId {
const CODEC_ID: u8;
}Expand description
Stable, compile-time codec identity.
This is used by typed adapters (indexbus-typed) to stamp/validate the envelope header.
Required Associated Constants§
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.