Enum rusoto_cognito_sync::RegisterDeviceError [−][src]
pub enum RegisterDeviceError { InternalError(String), InvalidConfiguration(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by RegisterDevice
Variants
InternalError(String)
Indicates an internal service error.
InvalidConfiguration(String)
InvalidParameter(String)
Thrown when a request parameter does not comply with the associated constraints.
NotAuthorized(String)
Thrown when a user is not authorized to access the requested resource.
ResourceNotFound(String)
Thrown if the resource doesn't exist.
TooManyRequests(String)
Thrown if the request is throttled.
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 RegisterDeviceError
[src]
impl RegisterDeviceError
pub fn from_body(body: &str) -> RegisterDeviceError
[src]
pub fn from_body(body: &str) -> RegisterDeviceError
Trait Implementations
impl Debug for RegisterDeviceError
[src]
impl Debug for RegisterDeviceError
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 RegisterDeviceError
[src]
impl PartialEq for RegisterDeviceError
fn eq(&self, other: &RegisterDeviceError) -> bool
[src]
fn eq(&self, other: &RegisterDeviceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RegisterDeviceError) -> bool
[src]
fn ne(&self, other: &RegisterDeviceError) -> bool
This method tests for !=
.
impl From<Error> for RegisterDeviceError
[src]
impl From<Error> for RegisterDeviceError
fn from(err: Error) -> RegisterDeviceError
[src]
fn from(err: Error) -> RegisterDeviceError
Performs the conversion.
impl From<CredentialsError> for RegisterDeviceError
[src]
impl From<CredentialsError> for RegisterDeviceError
fn from(err: CredentialsError) -> RegisterDeviceError
[src]
fn from(err: CredentialsError) -> RegisterDeviceError
Performs the conversion.
impl From<HttpDispatchError> for RegisterDeviceError
[src]
impl From<HttpDispatchError> for RegisterDeviceError
fn from(err: HttpDispatchError) -> RegisterDeviceError
[src]
fn from(err: HttpDispatchError) -> RegisterDeviceError
Performs the conversion.
impl From<Error> for RegisterDeviceError
[src]
impl From<Error> for RegisterDeviceError
fn from(err: Error) -> RegisterDeviceError
[src]
fn from(err: Error) -> RegisterDeviceError
Performs the conversion.
impl Display for RegisterDeviceError
[src]
impl Display for RegisterDeviceError
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 RegisterDeviceError
[src]
impl Error for RegisterDeviceError
Auto Trait Implementations
impl Send for RegisterDeviceError
impl Send for RegisterDeviceError
impl Sync for RegisterDeviceError
impl Sync for RegisterDeviceError