pub trait MessageValidator<M>:
Send
+ Sync
+ 'static {
// Required method
fn matches(&self, message: &M) -> bool;
}Expand description
Per-edge filter that accepts or rejects a message for a specific edge.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".