Enum s3::Region [] [src]

pub enum Region {
    UsEast1,
    UsEast2,
    UsWest1,
    UsWest2,
    CaCentral1,
    ApSouth1,
    ApNortheast1,
    ApNortheast2,
    ApSoutheast1,
    ApSoutheast2,
    EuCentral1,
    EuWest1,
    EuWest2,
    SaEast1,
}

AWS S3 region identifier

Example

use std::str::FromStr;
use s3::Region;

// Parse from a string
let region: Region = "us-east-1".parse().unwrap();

// Choose region directly
let region = Region::EuWest2;

Variants

us-east-1

us-east-2

us-west-1

us-west-2

ca-central-1

ap-south-1

ap-northeast-1

ap-northeast-2

ap-southeast-1

ap-southeast-2

eu-central-1

eu-west-1

eu-west-2

sa-east-1

Trait Implementations

impl Clone for Region
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Region
[src]

impl Debug for Region
[src]

Formats the value using the given formatter.

impl Eq for Region
[src]

impl PartialEq for Region
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Region
[src]

Formats the value using the given formatter.

impl FromStr for Region
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more