Struct aws_smithy_http::operation::Request [−][src]
pub struct Request { /* fields omitted */ }
Expand description
Operation request type that associates a property bag with an underlying HTTP request.
This type represents the request in the Tower Service
in middleware so that middleware
can share information with each other via the properties.
Implementations
Creates a new operation Request
with the given inner
HTTP request.
Creates a new operation Request
from its parts.
Allows modification of the HTTP request and associated properties with a fallible closure.
Gives mutable access to the properties.
Gives readonly access to the properties.
Gives mutable access to the underlying HTTP request.
Attempts to clone the operation Request
. This can fail if the
request body can’t be cloned, such as if it is being streamed and the
stream can’t be recreated.
Consumes the operation Request
and returns the underlying HTTP request and properties.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Request
impl !UnwindSafe for Request
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more