Struct rustful::handler::routing::RouteState [] [src]

pub struct RouteState<'a> { /* fields omitted */ }

A state object for routing.

Methods

impl<'a> RouteState<'a>
[src]

Get the current path segment.

Don't include this path segment in a variable.

Include this path segment as a variable.

Extend a previously saved variable value with this path segment, or save it as a new variable.

Assign names to the saved variables and return them.

Get a snapshot of a part of the current state.

Go to a previously recorded state.

Check if there are no more segments.

Trait Implementations

impl<'a> Clone for RouteState<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, R: Route<'a> + ?Sized> From<&'a R> for RouteState<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for RouteState<'a>

impl<'a> Sync for RouteState<'a>