pub trait AddControlRouterServiceExt {
// Required methods
fn add_control_router_service<T>(&mut self) -> &mut Self
where T: Service<Handle = Arc<T>> + RouterBuilder + 'static;
fn has_control_router_service<T>(&self) -> bool
where T: Service<Handle = Arc<T>> + RouterBuilder + 'static;
}Required Methods§
Sourcefn add_control_router_service<T>(&mut self) -> &mut Self
fn add_control_router_service<T>(&mut self) -> &mut Self
Registers a router resolved from a DI Service on the control server.
fn has_control_router_service<T>(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".