Enum rusoto_ses::SendEmailError
[−]
[src]
pub enum SendEmailError { ConfigurationSetDoesNotExist(String), MailFromDomainNotVerified(String), MessageRejected(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SendEmail
Variants
ConfigurationSetDoesNotExist(String)
Indicates that the configuration set does not exist.
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]
pub fn from_body(body: &str) -> SendEmailError
[src]
Trait Implementations
impl Debug for SendEmailError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for SendEmailError
[src]
fn eq(&self, __arg_0: &SendEmailError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SendEmailError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for SendEmailError
[src]
fn from(err: XmlParseError) -> SendEmailError
[src]
Performs the conversion.
impl From<CredentialsError> for SendEmailError
[src]
fn from(err: CredentialsError) -> SendEmailError
[src]
Performs the conversion.
impl From<HttpDispatchError> for SendEmailError
[src]
fn from(err: HttpDispatchError) -> SendEmailError
[src]
Performs the conversion.
impl From<Error> for SendEmailError
[src]
fn from(err: Error) -> SendEmailError
[src]
Performs the conversion.
impl Display for SendEmailError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more