Struct ntex_router::Router [−][src]
pub struct Router<T, U = ()> { /* fields omitted */ }
Expand description
Resource router.
Implementations
pub fn recognize<R, P>(&self, resource: &mut R) -> Option<(&T, ResourceId)> where
R: Resource<P>,
P: ResourcePath, pub fn recognize_mut<R, P>(
&mut self,
resource: &mut R
) -> Option<(&mut T, ResourceId)> where
R: Resource<P>,
P: ResourcePath, Trait Implementations
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Router<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe, impl<T, U> UnwindSafe for Router<T, U> where
T: UnwindSafe,
U: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more