Struct ntex_router::RouterBuilder [−][src]
pub struct RouterBuilder<T, U = ()> { /* fields omitted */ }
Implementations
Make router case insensitive. Only static segments could be case insensitive.
By default router is case sensitive.
pub fn path<P: IntoPattern>(
&mut self,
path: P,
resource: T
) -> &mut (ResourceDef, T, Option<U>)
[src]
pub fn path<P: IntoPattern>(
&mut self,
path: P,
resource: T
) -> &mut (ResourceDef, T, Option<U>)
[src]Register resource for specified path.
Register resource for specified path prefix.
Register resource for ResourceDef
Auto Trait Implementations
impl<T, U> RefUnwindSafe for RouterBuilder<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for RouterBuilder<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for RouterBuilder<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for RouterBuilder<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for RouterBuilder<T, U> where
T: UnwindSafe,
U: UnwindSafe,