pub trait Event: 'static {
type Contract: Contract;
const NAME: &'static str;
}Expand description
A notification that something happened. Delivered at most once to every running board that subscribes to it, with no answer and no replay.
Required Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".