Skip to main content

WireRouter

Trait WireRouter 

Source
pub trait WireRouter {
    // Required methods
    fn wire(self, path: &str, component_name: &str) -> Self;
    fn wire_routes(self) -> Self;
}

Required Methods§

Source

fn wire(self, path: &str, component_name: &str) -> Self

Source

fn wire_routes(self) -> 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 WireRouter for Router

Source§

fn wire(self, path: &str, component_name: &str) -> Self

Source§

fn wire_routes(self) -> Self

Implementors§