Skip to main content

RouteAlgExt

Trait RouteAlgExt 

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

Provides fluent route composition on any RouteAlg.

Required Methods§

Source

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

Starts with the initial route.

Source

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

Wraps an already interpreted route for further fluent composition.

Dyn Compatibility§

This trait is 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.