pub enum AddAttachmentsToSetError {
AttachmentLimitExceeded(String),
AttachmentSetExpired(String),
AttachmentSetIdNotFound(String),
AttachmentSetSizeLimitExceeded(String),
InternalServerError(String),
}Expand description
Errors returned by AddAttachmentsToSet
Variants§
AttachmentLimitExceeded(String)
The limit for the number of attachment sets created in a short period of time has been exceeded.
AttachmentSetExpired(String)
The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
AttachmentSetIdNotFound(String)
An attachment set with the specified ID could not be found.
AttachmentSetSizeLimitExceeded(String)
A limit for the size of an attachment set has been exceeded. The limits are three attachments and 5 MB per attachment.
InternalServerError(String)
An internal server error occurred.
Implementations§
Source§impl AddAttachmentsToSetError
impl AddAttachmentsToSetError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<AddAttachmentsToSetError>
Trait Implementations§
Source§impl Debug for AddAttachmentsToSetError
impl Debug for AddAttachmentsToSetError
Source§impl Display for AddAttachmentsToSetError
impl Display for AddAttachmentsToSetError
Source§impl Error for AddAttachmentsToSetError
impl Error for AddAttachmentsToSetError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for AddAttachmentsToSetError
impl PartialEq for AddAttachmentsToSetError
impl StructuralPartialEq for AddAttachmentsToSetError
Auto Trait Implementations§
impl Freeze for AddAttachmentsToSetError
impl RefUnwindSafe for AddAttachmentsToSetError
impl Send for AddAttachmentsToSetError
impl Sync for AddAttachmentsToSetError
impl Unpin for AddAttachmentsToSetError
impl UnwindSafe for AddAttachmentsToSetError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more