pub trait EventTopic {
// Required method
fn to_topic(&self) -> [u8; 32];
}Expand description
Trait for types that can be converted to event topics.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".