pub enum MitigationError {
ApplyFailed(MitigationOperationError),
QueryFailed(MitigationOperationError),
}Expand description
Mitigation-specific errors.
Variants§
ApplyFailed(MitigationOperationError)
Applying one mitigation policy failed.
QueryFailed(MitigationOperationError)
Querying one mitigation policy failed.
Trait Implementations§
Source§impl Debug for MitigationError
impl Debug for MitigationError
Source§impl Display for MitigationError
impl Display for MitigationError
Source§impl Error for MitigationError
impl Error for MitigationError
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()
Auto Trait Implementations§
impl Freeze for MitigationError
impl RefUnwindSafe for MitigationError
impl Send for MitigationError
impl Sync for MitigationError
impl Unpin for MitigationError
impl UnsafeUnpin for MitigationError
impl UnwindSafe for MitigationError
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