Enum rusoto_ses::SendEmailError [−][src]
pub enum SendEmailError { AccountSendingPaused(String), ConfigurationSetDoesNotExist(String), ConfigurationSetSendingPaused(String), MailFromDomainNotVerified(String), MessageRejected(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SendEmail
Variants
AccountSendingPaused(String)
Indicates that email sending is disabled for your entire Amazon SES account.
You can enable or disable email sending for your Amazon SES account using UpdateAccountSendingEnabled.
ConfigurationSetDoesNotExist(String)
Indicates that the configuration set does not exist.
ConfigurationSetSendingPaused(String)
Indicates that email sending is disabled for the configuration set.
You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled.
MailFromDomainNotVerified(String)
Indicates that the message could not be sent because Amazon SES could not read the MX record required to use the specified MAIL FROM domain. For information about editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer Guide.
MessageRejected(String)
Indicates that the action failed, and the message could not be sent. Check the error stack for more information about what caused the error.
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 SendEmailError
[src]
impl SendEmailError
pub fn from_body(body: &str) -> SendEmailError
[src]
pub fn from_body(body: &str) -> SendEmailError
Trait Implementations
impl Debug for SendEmailError
[src]
impl Debug for SendEmailError
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 SendEmailError
[src]
impl PartialEq for SendEmailError
fn eq(&self, other: &SendEmailError) -> bool
[src]
fn eq(&self, other: &SendEmailError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SendEmailError) -> bool
[src]
fn ne(&self, other: &SendEmailError) -> bool
This method tests for !=
.
impl From<XmlParseError> for SendEmailError
[src]
impl From<XmlParseError> for SendEmailError
fn from(err: XmlParseError) -> SendEmailError
[src]
fn from(err: XmlParseError) -> SendEmailError
Performs the conversion.
impl From<CredentialsError> for SendEmailError
[src]
impl From<CredentialsError> for SendEmailError
fn from(err: CredentialsError) -> SendEmailError
[src]
fn from(err: CredentialsError) -> SendEmailError
Performs the conversion.
impl From<HttpDispatchError> for SendEmailError
[src]
impl From<HttpDispatchError> for SendEmailError
fn from(err: HttpDispatchError) -> SendEmailError
[src]
fn from(err: HttpDispatchError) -> SendEmailError
Performs the conversion.
impl From<Error> for SendEmailError
[src]
impl From<Error> for SendEmailError
fn from(err: Error) -> SendEmailError
[src]
fn from(err: Error) -> SendEmailError
Performs the conversion.
impl Display for SendEmailError
[src]
impl Display for SendEmailError
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 SendEmailError
[src]
impl Error for SendEmailError
Auto Trait Implementations
impl Send for SendEmailError
impl Send for SendEmailError
impl Sync for SendEmailError
impl Sync for SendEmailError