pub struct Router {
pub children: Vec<Router, Global>,
pub filters: Vec<Box<dyn Filter + 'static, Global>, Global>,
pub handler: Option<Arc<dyn Handler + 'static>>,
pub befores: Vec<Arc<dyn Handler + 'static>, Global>,
pub afters: Vec<Arc<dyn Handler + 'static>, Global>,
}
handler: Option<Arc<dyn Handler + 'static>>
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,