Skip to main content

MessageValidator

Trait MessageValidator 

Source
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§

Source

fn matches(&self, message: &M) -> bool

Implementors§