pub struct RuleProblem {
pub location: String,
pub message: String,
}Expand description
One problem found while loading rule packs.
Fields§
§location: StringPack file and rule id, or the registry.
message: StringWhat is wrong.
Trait Implementations§
Source§impl Clone for RuleProblem
impl Clone for RuleProblem
Source§impl Debug for RuleProblem
impl Debug for RuleProblem
Source§impl Display for RuleProblem
impl Display for RuleProblem
impl Eq for RuleProblem
Source§impl Error for RuleProblem
impl Error for RuleProblem
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 RuleProblem
impl PartialEq for RuleProblem
impl StructuralPartialEq for RuleProblem
Auto Trait Implementations§
impl Forget for RuleProblem
impl Freeze for RuleProblem
impl Move for RuleProblem
impl RefUnwindSafe for RuleProblem
impl Send for RuleProblemwhere
RawVecInner: Send,
impl Sync for RuleProblemwhere
RawVecInner: Sync,
impl Unpin for RuleProblem
impl UnsafeUnpin for RuleProblem
impl UnwindSafe for RuleProblemwhere
RawVecInner: UnwindSafe,
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