pub enum GetProtectionStatusError {
InternalError(String),
InvalidInput(String),
ResourceNotFound(String),
}Expand description
Errors returned by GetProtectionStatus
Variants§
InternalError(String)
The operation failed because of a system problem, even though the request was valid. Retry your request.
InvalidInput(String)
The parameters of the request were invalid.
ResourceNotFound(String)
The specified resource was not found.
Implementations§
Source§impl GetProtectionStatusError
impl GetProtectionStatusError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetProtectionStatusError>
Trait Implementations§
Source§impl Debug for GetProtectionStatusError
impl Debug for GetProtectionStatusError
Source§impl Display for GetProtectionStatusError
impl Display for GetProtectionStatusError
Source§impl Error for GetProtectionStatusError
impl Error for GetProtectionStatusError
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 GetProtectionStatusError
impl PartialEq for GetProtectionStatusError
impl StructuralPartialEq for GetProtectionStatusError
Auto Trait Implementations§
impl Freeze for GetProtectionStatusError
impl RefUnwindSafe for GetProtectionStatusError
impl Send for GetProtectionStatusError
impl Sync for GetProtectionStatusError
impl Unpin for GetProtectionStatusError
impl UnwindSafe for GetProtectionStatusError
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