aws_sdk_s3::config::endpoint

Trait ResolveEndpoint

Source
pub trait ResolveEndpoint:
    Send
    + Sync
    + Debug {
    // Required method
    fn resolve_endpoint<'a>(&'a self, params: &'a Params) -> EndpointFuture<'a> ;

    // Provided method
    fn into_shared_resolver(self) -> SharedEndpointResolver
       where Self: Sized + 'static { ... }
}
Expand description

Endpoint resolver trait specific to Amazon Simple Storage Service

Required Methods§

Source

fn resolve_endpoint<'a>(&'a self, params: &'a Params) -> EndpointFuture<'a>

Resolve an endpoint with the given parameters

Provided Methods§

Source

fn into_shared_resolver(self) -> SharedEndpointResolver
where Self: Sized + 'static,

Convert this service-specific resolver into a SharedEndpointResolver

The resulting resolver will downcast EndpointResolverParams into crate::config::endpoint::Params.

Implementors§