pub struct DeclError {
pub kind: DeclErrorKind,
pub path: String,
}Expand description
The error when a declaration file could not be read. Has no message text.
Fields§
§kind: DeclErrorKindKind.
path: StringWhere the problem is (in the form commands[3].params[0].type; empty for the whole).
Trait Implementations§
impl Eq for DeclError
Source§impl Error for DeclError
impl Error for DeclError
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 StructuralPartialEq for DeclError
Auto Trait Implementations§
impl Forget for DeclError
impl Freeze for DeclError
impl Move for DeclError
impl RefUnwindSafe for DeclError
impl Send for DeclError
impl Sync for DeclError
impl Unpin for DeclError
impl UnsafeUnpin for DeclError
impl UnwindSafe for DeclError
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