Struct aws_config::endpoint::middleware::SmithyEndpointStage
source · pub struct SmithyEndpointStage;
Expand description
Middleware to apply an HTTP endpoint to the request
This middleware reads aws_smithy_types::endpoint::Endpoint
out of the request properties and applies
it to the HTTP request.
Implementations§
source§impl SmithyEndpointStage
impl SmithyEndpointStage
sourcepub fn new() -> SmithyEndpointStage
pub fn new() -> SmithyEndpointStage
Create a new SmithyEndpointStage
.
Trait Implementations§
source§impl Clone for SmithyEndpointStage
impl Clone for SmithyEndpointStage
source§fn clone(&self) -> SmithyEndpointStage
fn clone(&self) -> SmithyEndpointStage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SmithyEndpointStage
impl Debug for SmithyEndpointStage
source§impl Default for SmithyEndpointStage
impl Default for SmithyEndpointStage
source§fn default() -> SmithyEndpointStage
fn default() -> SmithyEndpointStage
Returns the “default value” for a type. Read more
source§impl MapRequest for SmithyEndpointStage
impl MapRequest for SmithyEndpointStage
§type Error = ResolveEndpointError
type Error = ResolveEndpointError
The Error type returned by this operation. Read more
source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Returns the name of this map request operation for inclusion in a tracing span.
source§fn apply(
&self,
request: Request
) -> Result<Request, <SmithyEndpointStage as MapRequest>::Error>
fn apply( &self, request: Request ) -> Result<Request, <SmithyEndpointStage as MapRequest>::Error>
Apply this middleware to a request. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SmithyEndpointStage
impl Send for SmithyEndpointStage
impl Sync for SmithyEndpointStage
impl Unpin for SmithyEndpointStage
impl UnwindSafe for SmithyEndpointStage
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