Skip to main content

AddControlRouterExt

Trait AddControlRouterExt 

Source
pub trait AddControlRouterExt {
    // Required method
    fn add_control_router<T>(&mut self, router: impl Into<Arc<T>>) -> &mut Self
       where T: RouterBuilder + 'static;
}

Required Methods§

Source

fn add_control_router<T>(&mut self, router: impl Into<Arc<T>>) -> &mut Self
where T: RouterBuilder + 'static,

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 AddControlRouterExt for AppBuilder

Source§

fn add_control_router<T>(&mut self, router: impl Into<Arc<T>>) -> &mut Self
where T: RouterBuilder + 'static,

Implementors§