pub(crate) trait RouterExt {
// Required method
fn ruma_route<H, T>(self, handler: &'static H) -> Self
where H: RumaHandler<T>;
}Required Methods§
fn ruma_route<H, T>(self, handler: &'static H) -> Selfwhere
H: RumaHandler<T>,
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.