pub struct Node<T: Clone + Send> { /* private fields */ }
Expand description

A single node in the route parse tree.

Implementations

Gets the value at the end of the path.

Adds the value at the given path.

Adds the value at the given path as a non-leaf (i.e. middleware.)

Merges this node with another node, attempting to combine values at matching paths.

Prints the tree at the current level and all levels beneath with appropraite indentation starting with zero indentation.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.