pub struct RequestEnvelope {
pub method: String,
pub path: String,
pub query: String,
pub headers: HeaderMap,
pub body: Bytes,
pub reply_tx: Sender<HttpReply>,
}Expand description
An inbound HTTP request sent from the Axum dispatch handler to an
HttpConsumer receive loop.
Fields§
§method: String§path: String§query: String§headers: HeaderMap§body: Bytes§reply_tx: Sender<HttpReply>Auto Trait Implementations§
impl !Freeze for RequestEnvelope
impl !RefUnwindSafe for RequestEnvelope
impl Send for RequestEnvelope
impl Sync for RequestEnvelope
impl Unpin for RequestEnvelope
impl UnsafeUnpin for RequestEnvelope
impl !UnwindSafe for RequestEnvelope
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