Skip to main content

RouterExt

Trait RouterExt 

Source
pub(crate) trait RouterExt {
    // Required method
    fn ruma_route<H: RumaHandler<T>, T>(self, handler: &'static H) -> Self;
}

Required Methods§

Source

fn ruma_route<H: RumaHandler<T>, T>(self, handler: &'static H) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RouterExt for Router<State>

Source§

fn ruma_route<H: RumaHandler<T>, T>(self, handler: &'static H) -> Self

Implementors§