pub struct UnknownRule(pub String);Expand description
The error for a rule id jsonvet does not know.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnknownRule
impl Clone for UnknownRule
Source§impl Debug for UnknownRule
impl Debug for UnknownRule
Source§impl Display for UnknownRule
impl Display for UnknownRule
impl Eq for UnknownRule
Source§impl Error for UnknownRule
impl Error for UnknownRule
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 UnknownRule
impl PartialEq for UnknownRule
impl StructuralPartialEq for UnknownRule
Auto Trait Implementations§
impl Freeze for UnknownRule
impl RefUnwindSafe for UnknownRule
impl Send for UnknownRule
impl Sync for UnknownRule
impl Unpin for UnknownRule
impl UnsafeUnpin for UnknownRule
impl UnwindSafe for UnknownRule
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