Enum rusoto_directconnect::DescribeLocationsError [−][src]
pub enum DescribeLocationsError { DirectConnectClient(String), DirectConnectServer(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DescribeLocations
Variants
DirectConnectClient(String)
The API was called with invalid parameters. The error message will contain additional details about the cause.
DirectConnectServer(String)
A server-side error occurred during the API call. The error message will contain additional details about the cause.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl DescribeLocationsError
[src]
impl DescribeLocationsError
pub fn from_body(body: &str) -> DescribeLocationsError
[src]
pub fn from_body(body: &str) -> DescribeLocationsError
Trait Implementations
impl Debug for DescribeLocationsError
[src]
impl Debug for DescribeLocationsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DescribeLocationsError
[src]
impl PartialEq for DescribeLocationsError
fn eq(&self, other: &DescribeLocationsError) -> bool
[src]
fn eq(&self, other: &DescribeLocationsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DescribeLocationsError) -> bool
[src]
fn ne(&self, other: &DescribeLocationsError) -> bool
This method tests for !=
.
impl From<Error> for DescribeLocationsError
[src]
impl From<Error> for DescribeLocationsError
fn from(err: Error) -> DescribeLocationsError
[src]
fn from(err: Error) -> DescribeLocationsError
Performs the conversion.
impl From<CredentialsError> for DescribeLocationsError
[src]
impl From<CredentialsError> for DescribeLocationsError
fn from(err: CredentialsError) -> DescribeLocationsError
[src]
fn from(err: CredentialsError) -> DescribeLocationsError
Performs the conversion.
impl From<HttpDispatchError> for DescribeLocationsError
[src]
impl From<HttpDispatchError> for DescribeLocationsError
fn from(err: HttpDispatchError) -> DescribeLocationsError
[src]
fn from(err: HttpDispatchError) -> DescribeLocationsError
Performs the conversion.
impl From<Error> for DescribeLocationsError
[src]
impl From<Error> for DescribeLocationsError
fn from(err: Error) -> DescribeLocationsError
[src]
fn from(err: Error) -> DescribeLocationsError
Performs the conversion.
impl Display for DescribeLocationsError
[src]
impl Display for DescribeLocationsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DescribeLocationsError
[src]
impl Error for DescribeLocationsError
Auto Trait Implementations
impl Send for DescribeLocationsError
impl Send for DescribeLocationsError
impl Sync for DescribeLocationsError
impl Sync for DescribeLocationsError