Struct routefinder::Match
source · pub struct Match<'router, 'path, Handler> { /* private fields */ }
Expand description
The output of a successful application of a RouteSpec
to a str
path, as well as references to any captures.
It dereferences to the contained Handler type
Implementations§
Trait Implementations§
source§impl<'router, 'path, Handler> Ord for Match<'router, 'path, Handler>
impl<'router, 'path, Handler> Ord for Match<'router, 'path, Handler>
source§impl<'router, 'path, Handler> PartialEq for Match<'router, 'path, Handler>
impl<'router, 'path, Handler> PartialEq for Match<'router, 'path, Handler>
source§impl<'router, 'path, Handler> PartialOrd for Match<'router, 'path, Handler>
impl<'router, 'path, Handler> PartialOrd for Match<'router, 'path, Handler>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'router, 'path, Handler> Eq for Match<'router, 'path, Handler>
Auto Trait Implementations§
impl<'router, 'path, Handler> RefUnwindSafe for Match<'router, 'path, Handler>where
Handler: RefUnwindSafe,
impl<'router, 'path, Handler> Send for Match<'router, 'path, Handler>where
Handler: Sync,
impl<'router, 'path, Handler> Sync for Match<'router, 'path, Handler>where
Handler: Sync,
impl<'router, 'path, Handler> Unpin for Match<'router, 'path, Handler>
impl<'router, 'path, Handler> UnwindSafe for Match<'router, 'path, Handler>where
Handler: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more