pub struct Request<'a, C> {
pub method: &'a str,
pub path: &'a str,
pub headers: &'a mut [Header<'a>],
pub ctx: &'a C,
}Fields§
§method: &'a str§path: &'a str§headers: &'a mut [Header<'a>]§ctx: &'a CAuto Trait Implementations§
impl<'a, C> Freeze for Request<'a, C>
impl<'a, C> RefUnwindSafe for Request<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Request<'a, C>where
C: Sync,
impl<'a, C> Sync for Request<'a, C>where
C: Sync,
impl<'a, C> Unpin for Request<'a, C>
impl<'a, C> !UnwindSafe for Request<'a, C>
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