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