Trait elfo::routers::Router [−][src]
pub trait Router<C>: 'static + Send + Sync {
type Key: Clone + Hash + Eq + Display + Send + Sync;
fn route(&self, envelope: &Envelope<AnyMessage>) -> Outcome<Self::Key>;
fn update(&self, _config: &C) { ... }
}