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
UsEast1
us-east-1
UsEast2
us-east-2
UsWest1
us-west-1
UsWest2
us-west-2
CaCentral1
ca-central-1
ApSouth1
ap-south-1
ApNortheast1
ap-northeast-1
ApNortheast2
ap-northeast-2
ApSoutheast1
ap-southeast-1
ApSoutheast2
ap-southeast-2
EuCentral1
eu-central-1
EuWest1
eu-west-1
EuWest2
eu-west-2
SaEast1
sa-east-1
Trait Implementations
impl Clone for Region
[src]
fn clone(&self) -> Region
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Region
[src]
impl Debug for Region
[src]
impl Eq for Region
[src]
impl PartialEq for Region
[src]
fn eq(&self, __arg_0: &Region) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.