pub enum OperationalPolicyError {
Contract(OperationalPolicyValidationFinding),
Semantic(OperationalPolicyValidationFinding),
}Variants§
Contract(OperationalPolicyValidationFinding)
Semantic(OperationalPolicyValidationFinding)
Implementations§
Source§impl OperationalPolicyError
impl OperationalPolicyError
pub fn finding(&self) -> &OperationalPolicyValidationFinding
Trait Implementations§
Source§impl Clone for OperationalPolicyError
impl Clone for OperationalPolicyError
Source§fn clone(&self) -> OperationalPolicyError
fn clone(&self) -> OperationalPolicyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationalPolicyError
impl Debug for OperationalPolicyError
Source§impl Display for OperationalPolicyError
impl Display for OperationalPolicyError
impl Eq for OperationalPolicyError
Source§impl Error for OperationalPolicyError
impl Error for OperationalPolicyError
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 OperationalPolicyError
impl PartialEq for OperationalPolicyError
Source§fn eq(&self, other: &OperationalPolicyError) -> bool
fn eq(&self, other: &OperationalPolicyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperationalPolicyError
Auto Trait Implementations§
impl Freeze for OperationalPolicyError
impl RefUnwindSafe for OperationalPolicyError
impl Send for OperationalPolicyError
impl Sync for OperationalPolicyError
impl Unpin for OperationalPolicyError
impl UnsafeUnpin for OperationalPolicyError
impl UnwindSafe for OperationalPolicyError
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