pub enum DescribeProtectionError {
InternalError(String),
InvalidParameter(String),
ResourceNotFound(String),
}Expand description
Errors returned by DescribeProtection
Variants§
InternalError(String)
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
InvalidParameter(String)
Exception that indicates that the parameters passed to the API are invalid.
ResourceNotFound(String)
Exception indicating the specified resource does not exist.
Implementations§
Source§impl DescribeProtectionError
impl DescribeProtectionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DescribeProtectionError>
Trait Implementations§
Source§impl Debug for DescribeProtectionError
impl Debug for DescribeProtectionError
Source§impl Display for DescribeProtectionError
impl Display for DescribeProtectionError
Source§impl Error for DescribeProtectionError
impl Error for DescribeProtectionError
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 DescribeProtectionError
impl PartialEq for DescribeProtectionError
impl StructuralPartialEq for DescribeProtectionError
Auto Trait Implementations§
impl Freeze for DescribeProtectionError
impl RefUnwindSafe for DescribeProtectionError
impl Send for DescribeProtectionError
impl Sync for DescribeProtectionError
impl Unpin for DescribeProtectionError
impl UnwindSafe for DescribeProtectionError
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