Enum rusoto_sns::OptInPhoneNumberError [−][src]
pub enum OptInPhoneNumberError { AuthorizationError(String), InternalError(String), InvalidParameter(String), Throttled(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by OptInPhoneNumber
Variants
AuthorizationError(String)
Indicates that the user has been denied access to the requested resource.
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Indicates that a request parameter does not comply with the associated constraints.
Throttled(String)
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your account.
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 OptInPhoneNumberError
[src]
impl OptInPhoneNumberError
pub fn from_body(body: &str) -> OptInPhoneNumberError
[src]
pub fn from_body(body: &str) -> OptInPhoneNumberError
Trait Implementations
impl Debug for OptInPhoneNumberError
[src]
impl Debug for OptInPhoneNumberError
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 OptInPhoneNumberError
[src]
impl PartialEq for OptInPhoneNumberError
fn eq(&self, other: &OptInPhoneNumberError) -> bool
[src]
fn eq(&self, other: &OptInPhoneNumberError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OptInPhoneNumberError) -> bool
[src]
fn ne(&self, other: &OptInPhoneNumberError) -> bool
This method tests for !=
.
impl From<XmlParseError> for OptInPhoneNumberError
[src]
impl From<XmlParseError> for OptInPhoneNumberError
fn from(err: XmlParseError) -> OptInPhoneNumberError
[src]
fn from(err: XmlParseError) -> OptInPhoneNumberError
Performs the conversion.
impl From<CredentialsError> for OptInPhoneNumberError
[src]
impl From<CredentialsError> for OptInPhoneNumberError
fn from(err: CredentialsError) -> OptInPhoneNumberError
[src]
fn from(err: CredentialsError) -> OptInPhoneNumberError
Performs the conversion.
impl From<HttpDispatchError> for OptInPhoneNumberError
[src]
impl From<HttpDispatchError> for OptInPhoneNumberError
fn from(err: HttpDispatchError) -> OptInPhoneNumberError
[src]
fn from(err: HttpDispatchError) -> OptInPhoneNumberError
Performs the conversion.
impl From<Error> for OptInPhoneNumberError
[src]
impl From<Error> for OptInPhoneNumberError
fn from(err: Error) -> OptInPhoneNumberError
[src]
fn from(err: Error) -> OptInPhoneNumberError
Performs the conversion.
impl Display for OptInPhoneNumberError
[src]
impl Display for OptInPhoneNumberError
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 OptInPhoneNumberError
[src]
impl Error for OptInPhoneNumberError
Auto Trait Implementations
impl Send for OptInPhoneNumberError
impl Send for OptInPhoneNumberError
impl Sync for OptInPhoneNumberError
impl Sync for OptInPhoneNumberError