pub struct DynamicMatcher { /* private fields */ }
Expand description

Dynamic path segment matcher.

This struct is constructed via the DynamicParser and assumes that any incoming path segment is a candidate for matching.

Implementations

Constructs a new DynamicMatcher from a segment.

Trait Implementations

Determines if there is a capture for the incoming segment.

Determines if this matcher matches the incoming segment.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.