Enum sharp_pencil::routing::MapAdapterMatched
source · [−]pub enum MapAdapterMatched {
MatchedRule((Rule, ViewArgs)),
MatchedRedirect((String, u16)),
MatchedError(HTTPError),
}
Expand description
The map adapter matched value.
Variants
MatchedRule((Rule, ViewArgs))
MatchedRedirect((String, u16))
MatchedError(HTTPError)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MapAdapterMatched
impl Send for MapAdapterMatched
impl Sync for MapAdapterMatched
impl Unpin for MapAdapterMatched
impl UnwindSafe for MapAdapterMatched
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more