pub enum DeleteDocumentError {
AssociatedInstances(String),
InternalServerError(String),
InvalidDocument(String),
InvalidDocumentOperation(String),
}Expand description
Errors returned by DeleteDocument
Variants§
AssociatedInstances(String)
You must disassociate a document from all instances before you can delete it.
InternalServerError(String)
An error occurred on the server side.
InvalidDocument(String)
The specified document does not exist.
InvalidDocumentOperation(String)
You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.
Implementations§
Source§impl DeleteDocumentError
impl DeleteDocumentError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteDocumentError>
Trait Implementations§
Source§impl Debug for DeleteDocumentError
impl Debug for DeleteDocumentError
Source§impl Display for DeleteDocumentError
impl Display for DeleteDocumentError
Source§impl Error for DeleteDocumentError
impl Error for DeleteDocumentError
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 DeleteDocumentError
impl PartialEq for DeleteDocumentError
impl StructuralPartialEq for DeleteDocumentError
Auto Trait Implementations§
impl Freeze for DeleteDocumentError
impl RefUnwindSafe for DeleteDocumentError
impl Send for DeleteDocumentError
impl Sync for DeleteDocumentError
impl Unpin for DeleteDocumentError
impl UnwindSafe for DeleteDocumentError
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