#[non_exhaustive]pub enum Misconfiguration {
DuplicatePhase(PhaseId),
UnknownPhase {
phase: PhaseId,
rule: &'static str,
},
UnknownPhaseReference {
phase: PhaseId,
reference: PhaseId,
},
UnknownRuleReference {
phase: PhaseId,
rule: &'static str,
reference: &'static str,
registered_elsewhere: Option<PhaseId>,
},
UnknownExclusion(&'static str),
NonExcludable(&'static str),
PhaseCycle(Vec<PhaseId>),
RuleCycle {
phase: PhaseId,
rules: Vec<&'static str>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DuplicatePhase(PhaseId)
UnknownPhase
UnknownPhaseReference
UnknownRuleReference
Fields
UnknownExclusion(&'static str)
NonExcludable(&'static str)
PhaseCycle(Vec<PhaseId>)
RuleCycle
Trait Implementations§
Source§impl Debug for Misconfiguration
impl Debug for Misconfiguration
Auto Trait Implementations§
impl !RefUnwindSafe for Misconfiguration
impl !UnwindSafe for Misconfiguration
impl Freeze for Misconfiguration
impl Send for Misconfiguration
impl Sync for Misconfiguration
impl Unpin for Misconfiguration
impl UnsafeUnpin for Misconfiguration
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> OwnedIndex for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more