Enum rusoto_directconnect::CreateBGPPeerError
[−]
[src]
pub enum CreateBGPPeerError { DirectConnectClient(String), DirectConnectServer(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateBGPPeer
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 CreateBGPPeerError
[src]
fn from_body(body: &str) -> CreateBGPPeerError
[src]
Trait Implementations
impl Debug for CreateBGPPeerError
[src]
impl PartialEq for CreateBGPPeerError
[src]
fn eq(&self, __arg_0: &CreateBGPPeerError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateBGPPeerError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateBGPPeerError
[src]
fn from(err: Error) -> CreateBGPPeerError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateBGPPeerError
[src]
fn from(err: CredentialsError) -> CreateBGPPeerError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateBGPPeerError
[src]
fn from(err: HttpDispatchError) -> CreateBGPPeerError
[src]
Performs the conversion.
impl From<Error> for CreateBGPPeerError
[src]
fn from(err: Error) -> CreateBGPPeerError
[src]
Performs the conversion.
impl Display for CreateBGPPeerError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more