pub trait Topic {
type Message: Schema + ?Sized;
const PATH: &'static str;
const TOPIC_KEY: Key;
const TOPIC_KEY4: Key4 = _;
const TOPIC_KEY2: Key2 = _;
const TOPIC_KEY1: Key1 = _;
}
Expand description
Required Associated Constants§
Provided Associated Constants§
Sourceconst TOPIC_KEY4: Key4 = _
const TOPIC_KEY4: Key4 = _
The unique Key4 identifying the Message
Sourceconst TOPIC_KEY2: Key2 = _
const TOPIC_KEY2: Key2 = _
The unique Key2 identifying the Message
Sourceconst TOPIC_KEY1: Key1 = _
const TOPIC_KEY1: Key1 = _
The unique Key2 identifying the Message
Required Associated Types§
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.