aws_config::meta::region

Trait 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§