pub enum RuleError {
Parse(String),
DuplicateId(String),
Runtime {
route: String,
detail: String,
},
Op {
rule: String,
detail: String,
},
MissingMicrotest(String),
MissingLever(String),
Numerics {
rule: String,
detail: String,
},
Shape {
rule: String,
detail: String,
},
}Expand description
2026-09-28: Why FUSIONS.toml did not load.
Variants§
Parse(String)
2026-09-28: Not valid TOML or not the rules shape.
DuplicateId(String)
2026-09-28: Two rules share an id.
Runtime
2026-09-30: A malformed [[runtime]] route (crate::runtime).
Op
2026-09-28: A pattern op the vocabulary does not have.
MissingMicrotest(String)
2026-09-28: bit_identical without microtest.
MissingLever(String)
2026-09-28: differs without lever.
Numerics
2026-09-28: A microtest or lever on a class that takes none, or an unknown class.
Shape
2026-09-28: Empty pattern, empty modes, unknown mode, bad row range or empty cite.
Trait Implementations§
Source§impl Error for RuleError
impl Error for RuleError
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()
impl Eq for RuleError
impl StructuralPartialEq for RuleError
Auto Trait Implementations§
impl Freeze for RuleError
impl RefUnwindSafe for RuleError
impl Send for RuleError
impl Sync for RuleError
impl Unpin for RuleError
impl UnwindSafe for RuleError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.