pub struct ServerRequest<'a> {
pub stream_id: StreamId,
pub headers: &'a [Header],
pub body: &'a [u8],
}Expand description
The struct represents a fully received request.
Fields§
§stream_id: StreamId§headers: &'a [Header]§body: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for ServerRequest<'a>
impl<'a> RefUnwindSafe for ServerRequest<'a>
impl<'a> Send for ServerRequest<'a>
impl<'a> Sync for ServerRequest<'a>
impl<'a> Unpin for ServerRequest<'a>
impl<'a> UnwindSafe for ServerRequest<'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