Skip to main content

RouteAlgExt

Trait RouteAlgExt 

Source
pub trait RouteAlgExt<This>: RouteAlg + Sized
where This: RouteAlg,
{ // Required methods fn routes(&self) -> Routes<'_, Self>; fn route(&self, route: This::Route) -> Routes<'_, Self>; }
Expand description

Provides fluent route composition on any RouteAlg.

Required Methods§

Source

fn routes(&self) -> Routes<'_, Self>

Starts with the initial route.

Source

fn route(&self, route: This::Route) -> Routes<'_, Self>

Wraps an already interpreted route for further fluent composition.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<This> RouteAlgExt<This> for This
where This: RouteAlg,

Provides fluent route composition on any RouteAlg.