Enum rusoto_iot::GetRegistrationCodeError [−][src]
pub enum GetRegistrationCodeError { InternalFailure(String), InvalidRequest(String), ServiceUnavailable(String), Throttling(String), Unauthorized(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetRegistrationCode
Variants
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
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 GetRegistrationCodeError
[src]
impl GetRegistrationCodeError
pub fn from_body(body: &str) -> GetRegistrationCodeError
[src]
pub fn from_body(body: &str) -> GetRegistrationCodeError
Trait Implementations
impl Debug for GetRegistrationCodeError
[src]
impl Debug for GetRegistrationCodeError
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 GetRegistrationCodeError
[src]
impl PartialEq for GetRegistrationCodeError
fn eq(&self, other: &GetRegistrationCodeError) -> bool
[src]
fn eq(&self, other: &GetRegistrationCodeError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetRegistrationCodeError) -> bool
[src]
fn ne(&self, other: &GetRegistrationCodeError) -> bool
This method tests for !=
.
impl From<Error> for GetRegistrationCodeError
[src]
impl From<Error> for GetRegistrationCodeError
fn from(err: Error) -> GetRegistrationCodeError
[src]
fn from(err: Error) -> GetRegistrationCodeError
Performs the conversion.
impl From<CredentialsError> for GetRegistrationCodeError
[src]
impl From<CredentialsError> for GetRegistrationCodeError
fn from(err: CredentialsError) -> GetRegistrationCodeError
[src]
fn from(err: CredentialsError) -> GetRegistrationCodeError
Performs the conversion.
impl From<HttpDispatchError> for GetRegistrationCodeError
[src]
impl From<HttpDispatchError> for GetRegistrationCodeError
fn from(err: HttpDispatchError) -> GetRegistrationCodeError
[src]
fn from(err: HttpDispatchError) -> GetRegistrationCodeError
Performs the conversion.
impl From<Error> for GetRegistrationCodeError
[src]
impl From<Error> for GetRegistrationCodeError
fn from(err: Error) -> GetRegistrationCodeError
[src]
fn from(err: Error) -> GetRegistrationCodeError
Performs the conversion.
impl Display for GetRegistrationCodeError
[src]
impl Display for GetRegistrationCodeError
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 GetRegistrationCodeError
[src]
impl Error for GetRegistrationCodeError
Auto Trait Implementations
impl Send for GetRegistrationCodeError
impl Send for GetRegistrationCodeError
impl Sync for GetRegistrationCodeError
impl Sync for GetRegistrationCodeError