Enum rusoto_cognito_sync::ListDatasetsError [−][src]
pub enum ListDatasetsError { InternalError(String), InvalidParameter(String), NotAuthorized(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ListDatasets
Variants
InternalError(String)
Indicates an internal service error.
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.
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 ListDatasetsError
[src]
impl ListDatasetsError
pub fn from_body(body: &str) -> ListDatasetsError
[src]
pub fn from_body(body: &str) -> ListDatasetsError
Trait Implementations
impl Debug for ListDatasetsError
[src]
impl Debug for ListDatasetsError
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 ListDatasetsError
[src]
impl PartialEq for ListDatasetsError
fn eq(&self, other: &ListDatasetsError) -> bool
[src]
fn eq(&self, other: &ListDatasetsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ListDatasetsError) -> bool
[src]
fn ne(&self, other: &ListDatasetsError) -> bool
This method tests for !=
.
impl From<Error> for ListDatasetsError
[src]
impl From<Error> for ListDatasetsError
fn from(err: Error) -> ListDatasetsError
[src]
fn from(err: Error) -> ListDatasetsError
Performs the conversion.
impl From<CredentialsError> for ListDatasetsError
[src]
impl From<CredentialsError> for ListDatasetsError
fn from(err: CredentialsError) -> ListDatasetsError
[src]
fn from(err: CredentialsError) -> ListDatasetsError
Performs the conversion.
impl From<HttpDispatchError> for ListDatasetsError
[src]
impl From<HttpDispatchError> for ListDatasetsError
fn from(err: HttpDispatchError) -> ListDatasetsError
[src]
fn from(err: HttpDispatchError) -> ListDatasetsError
Performs the conversion.
impl From<Error> for ListDatasetsError
[src]
impl From<Error> for ListDatasetsError
fn from(err: Error) -> ListDatasetsError
[src]
fn from(err: Error) -> ListDatasetsError
Performs the conversion.
impl Display for ListDatasetsError
[src]
impl Display for ListDatasetsError
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 ListDatasetsError
[src]
impl Error for ListDatasetsError
Auto Trait Implementations
impl Send for ListDatasetsError
impl Send for ListDatasetsError
impl Sync for ListDatasetsError
impl Sync for ListDatasetsError