#[repr(C)]pub struct aws_http_message { /* private fields */ }
Expand description
The definition for an outgoing HTTP request or response. The message may be transformed (ex: signing the request) before its data is eventually sent.
The message keeps internal copies of its trivial strings (method, path, headers) but does NOT take ownership of its body stream.
A language binding would likely present this as an HttpMessage base class with HttpRequest and HttpResponse subclasses.
Trait Implementations
sourceimpl Clone for aws_http_message
impl Clone for aws_http_message
sourcefn clone(&self) -> aws_http_message
fn clone(&self) -> aws_http_message
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_http_message
impl Debug for aws_http_message
impl Copy for aws_http_message
Auto Trait Implementations
impl RefUnwindSafe for aws_http_message
impl Send for aws_http_message
impl Sync for aws_http_message
impl Unpin for aws_http_message
impl UnwindSafe for aws_http_message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more