Enum rusoto_opsworkscm::CreateServerError
[−]
[src]
pub enum CreateServerError { LimitExceeded(String), ResourceAlreadyExists(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateServer
Variants
LimitExceeded(String)
The limit of servers or backups has been reached.
ResourceAlreadyExists(String)
The requested resource cannot be created because it already exists.
ResourceNotFound(String)
The requested resource does not exist, or access was denied.
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 CreateServerError
[src]
pub fn from_body(body: &str) -> CreateServerError
[src]
Trait Implementations
impl Debug for CreateServerError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateServerError
[src]
fn eq(&self, __arg_0: &CreateServerError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateServerError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateServerError
[src]
fn from(err: Error) -> CreateServerError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateServerError
[src]
fn from(err: CredentialsError) -> CreateServerError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateServerError
[src]
fn from(err: HttpDispatchError) -> CreateServerError
[src]
Performs the conversion.
impl From<Error> for CreateServerError
[src]
fn from(err: Error) -> CreateServerError
[src]
Performs the conversion.
impl Display for CreateServerError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more