pub struct RulePackError {
pub path: PathBuf,
pub message: String,
}Expand description
One rule-pack load or validation failure, anchored at the offending pack file.
Fields§
§path: PathBufThe pack file (as listed in rulePacks, root-joined).
message: StringWhat went wrong, including the rule id when the error is rule-scoped.
Trait Implementations§
Source§impl Clone for RulePackError
impl Clone for RulePackError
Source§impl Debug for RulePackError
impl Debug for RulePackError
Auto Trait Implementations§
impl Freeze for RulePackError
impl RefUnwindSafe for RulePackError
impl Send for RulePackError
impl Sync for RulePackError
impl Unpin for RulePackError
impl UnsafeUnpin for RulePackError
impl UnwindSafe for RulePackError
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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