pub enum Match<'a> {
Matched {
route: &'a Entry,
head_fallback: bool,
},
MethodNotAllowed {
allow: Vec<Method>,
},
NotFound,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Match<'a>
impl<'a> !RefUnwindSafe for Match<'a>
impl<'a> Send for Match<'a>
impl<'a> Sync for Match<'a>
impl<'a> Unpin for Match<'a>
impl<'a> UnsafeUnpin for Match<'a>
impl<'a> !UnwindSafe for Match<'a>
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