Router

Trait Router 

Source
pub unsafe trait Router
where Self: 'static,
{ const SORTED_ROUTES: &'static [Route<Self>]; }
Expand description

A router for message packets.

Required Associated Constants§

Source

const SORTED_ROUTES: &'static [Route<Self>]

The routes sorted by message selector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§