Trait WithStaticRoutesExt

Source
pub(crate) trait WithStaticRoutesExt {
    // Required method
    fn with_static_routes(self) -> Self;
}

Required Methods§

Source

fn with_static_routes(self) -> Self

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.

Implementations on Foreign Types§

Source§

impl<S> WithStaticRoutesExt for Router<S>
where S: Clone + Send + Sync + 'static,

Implementors§