pub unsafe trait Routerwhere
Self: 'static,{
const SORTED_ROUTES: &'static [Route<Self>];
}Expand description
A router for message packets.
Required Associated Constants§
Sourceconst SORTED_ROUTES: &'static [Route<Self>]
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.