Skip to main content

RouteKey

Trait RouteKey 

Source
pub trait RouteKey<K> {
    // Required method
    fn route_key(&self) -> &K;
}
Expand description

Exposes the statically known routing key of one destination message.

Required Methods§

Source

fn route_key(&self) -> &K

Borrow the key used only by the selected hash policy.

Implementors§