pub struct ConstRoute<T, U> where
T: 'static,
U: 'static, {
pub method: &'static str,
pub segments: &'static [Segment],
pub wrapper: &'static (dyn Fn(T, &[&str]) + 'static),
}
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.