Trait aws_config::meta::region::ProvideRegion

source ·
pub trait ProvideRegion:
    Send
    + Sync
    + Debug {
    // Required method
    fn region(&self) -> ProvideRegion<'_> ;
}
Expand description

Provide a Region to use with AWS requests

For most cases default_provider will be the best option, implementing a standard provider chain.

Required Methods§

source

fn region(&self) -> ProvideRegion<'_>

Load a region from this provider

Trait Implementations§

source§

impl ProvideRegion for Box<dyn ProvideRegion>

source§

fn region(&self) -> ProvideRegion<'_>

Load a region from this provider

Implementations on Foreign Types§

source§

impl ProvideRegion for &'static str

source§

impl ProvideRegion for Option<Region>

source§

impl ProvideRegion for Box<dyn ProvideRegion>

Implementors§