struct RequestDispatch<'a, 'conn> {
server: &'a Server<'conn>,
state: DispatchState,
}Expand description
Routes a request to the first handler registered for its method.
Fields§
§server: &'a Server<'conn>§state: DispatchStateImplementations§
Auto Trait Implementations§
impl<'a, 'conn> !RefUnwindSafe for RequestDispatch<'a, 'conn>
impl<'a, 'conn> !UnwindSafe for RequestDispatch<'a, 'conn>
impl<'a, 'conn> Freeze for RequestDispatch<'a, 'conn>
impl<'a, 'conn> Send for RequestDispatch<'a, 'conn>
impl<'a, 'conn> Sync for RequestDispatch<'a, 'conn>
impl<'a, 'conn> Unpin for RequestDispatch<'a, 'conn>
impl<'a, 'conn> UnsafeUnpin for RequestDispatch<'a, 'conn>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more