pub struct RouteCtx<'a> {
pub service: &'a str,
pub route_path: &'a str,
pub method: &'a Method,
pub uri: &'a Uri,
pub headers: &'a HeaderMap,
}Fields§
§service: &'a str§route_path: &'a str§method: &'a Method§uri: &'a Uri§headers: &'a HeaderMapAuto Trait Implementations§
impl<'a> Freeze for RouteCtx<'a>
impl<'a> RefUnwindSafe for RouteCtx<'a>
impl<'a> Send for RouteCtx<'a>
impl<'a> Sync for RouteCtx<'a>
impl<'a> Unpin for RouteCtx<'a>
impl<'a> UnsafeUnpin for RouteCtx<'a>
impl<'a> UnwindSafe for RouteCtx<'a>
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