Enum rusoto_iot::CreateThingError [−][src]
pub enum CreateThingError { InternalFailure(String), InvalidRequest(String), ResourceAlreadyExists(String), ResourceNotFound(String), ServiceUnavailable(String), Throttling(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateThing
Variants
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceAlreadyExists(String)
The resource already exists.
ResourceNotFound(String)
The specified resource does not exist.
The service is temporarily unavailable.
Throttling(String)
The rate exceeds the limit.
You are not authorized to perform this operation.
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 CreateThingError
[src]
impl CreateThingError
pub fn from_body(body: &str) -> CreateThingError
[src]
pub fn from_body(body: &str) -> CreateThingError
Trait Implementations
impl Debug for CreateThingError
[src]
impl Debug for CreateThingError
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 CreateThingError
[src]
impl PartialEq for CreateThingError
fn eq(&self, other: &CreateThingError) -> bool
[src]
fn eq(&self, other: &CreateThingError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateThingError) -> bool
[src]
fn ne(&self, other: &CreateThingError) -> bool
This method tests for !=
.
impl From<Error> for CreateThingError
[src]
impl From<Error> for CreateThingError
fn from(err: Error) -> CreateThingError
[src]
fn from(err: Error) -> CreateThingError
Performs the conversion.
impl From<CredentialsError> for CreateThingError
[src]
impl From<CredentialsError> for CreateThingError
fn from(err: CredentialsError) -> CreateThingError
[src]
fn from(err: CredentialsError) -> CreateThingError
Performs the conversion.
impl From<HttpDispatchError> for CreateThingError
[src]
impl From<HttpDispatchError> for CreateThingError
fn from(err: HttpDispatchError) -> CreateThingError
[src]
fn from(err: HttpDispatchError) -> CreateThingError
Performs the conversion.
impl From<Error> for CreateThingError
[src]
impl From<Error> for CreateThingError
fn from(err: Error) -> CreateThingError
[src]
fn from(err: Error) -> CreateThingError
Performs the conversion.
impl Display for CreateThingError
[src]
impl Display for CreateThingError
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 CreateThingError
[src]
impl Error for CreateThingError
Auto Trait Implementations
impl Send for CreateThingError
impl Send for CreateThingError
impl Sync for CreateThingError
impl Sync for CreateThingError