pub trait MessageValidator<M>: Send + Sync + 'static { // Required method fn matches(&self, message: &M) -> bool; }
Per-edge filter that accepts or rejects a message for a specific edge.