pub enum StrictValidationError {
Show 21 variants
TomlParse {
message: String,
},
Io {
message: String,
},
UnknownCategory {
value: String,
allowed: Vec<String>,
},
UnknownStatus {
value: String,
allowed: Vec<String>,
},
UnknownComparator {
value: String,
allowed: Vec<String>,
},
UnknownOwner {
value: String,
allowed: Vec<String>,
},
UnknownMilestone {
value: String,
allowed: Vec<String>,
},
DuplicateId {
id: String,
},
EmptyId,
DropInWithoutEvidence {
id: String,
},
DropInWithoutOracleProbe {
id: String,
},
UnresolvedProgress {
id: String,
status: String,
milestone: String,
current: String,
},
DropInRequiresStrongEvidence {
id: String,
evidence_level: String,
},
StructuralComparatorDropInRequiresEvidence {
id: String,
comparator: String,
evidence_level: String,
},
StructuralOnlyIncompatibleWithDropIn {
id: String,
},
StructuralComparatorBehavioralScopeMismatch {
id: String,
comparator: String,
},
ClosureRequiredWithoutEvidence {
id: String,
},
StructuralMissingBehaviorRecord {
id: String,
},
UnknownCertificationScope {
value: String,
allowed: Vec<String>,
},
UnknownEvidenceLevel {
value: String,
allowed: Vec<String>,
},
UnknownImplementationState {
value: String,
allowed: Vec<String>,
},
}Expand description
A single validation error with rule number and context.
Variants§
TomlParse
Io
UnknownCategory
UnknownStatus
UnknownComparator
UnknownOwner
UnknownMilestone
DuplicateId
EmptyId
DropInWithoutEvidence
DropInWithoutOracleProbe
UnresolvedProgress
DropInRequiresStrongEvidence
StructuralComparatorDropInRequiresEvidence
StructuralOnlyIncompatibleWithDropIn
StructuralComparatorBehavioralScopeMismatch
ClosureRequiredWithoutEvidence
StructuralMissingBehaviorRecord
UnknownCertificationScope
UnknownEvidenceLevel
UnknownImplementationState
Trait Implementations§
Source§impl Clone for StrictValidationError
impl Clone for StrictValidationError
Source§fn clone(&self) -> StrictValidationError
fn clone(&self) -> StrictValidationError
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 StrictValidationError
impl Debug for StrictValidationError
Source§impl Display for StrictValidationError
impl Display for StrictValidationError
impl Eq for StrictValidationError
Source§impl Error for StrictValidationError
impl Error for StrictValidationError
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 StrictValidationError
impl PartialEq for StrictValidationError
impl StructuralPartialEq for StrictValidationError
Auto Trait Implementations§
impl Freeze for StrictValidationError
impl RefUnwindSafe for StrictValidationError
impl Send for StrictValidationError
impl Sync for StrictValidationError
impl Unpin for StrictValidationError
impl UnsafeUnpin for StrictValidationError
impl UnwindSafe for StrictValidationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.