pub enum RestoreBackupError {
CloudHsmAccessDenied(String),
CloudHsmInternalFailure(String),
CloudHsmInvalidRequest(String),
CloudHsmResourceNotFound(String),
CloudHsmService(String),
}Expand description
Errors returned by RestoreBackup
Variants§
CloudHsmAccessDenied(String)
The request was rejected because the requester does not have permission to perform the requested operation.
CloudHsmInternalFailure(String)
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
CloudHsmInvalidRequest(String)
The request was rejected because it is not a valid request.
CloudHsmResourceNotFound(String)
The request was rejected because it refers to a resource that cannot be found.
CloudHsmService(String)
The request was rejected because an error occurred.
Implementations§
Source§impl RestoreBackupError
impl RestoreBackupError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<RestoreBackupError>
Trait Implementations§
Source§impl Debug for RestoreBackupError
impl Debug for RestoreBackupError
Source§impl Display for RestoreBackupError
impl Display for RestoreBackupError
Source§impl Error for RestoreBackupError
impl Error for RestoreBackupError
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 RestoreBackupError
impl PartialEq for RestoreBackupError
impl StructuralPartialEq for RestoreBackupError
Auto Trait Implementations§
impl Freeze for RestoreBackupError
impl RefUnwindSafe for RestoreBackupError
impl Send for RestoreBackupError
impl Sync for RestoreBackupError
impl Unpin for RestoreBackupError
impl UnwindSafe for RestoreBackupError
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