pub struct ErrorInfo {
pub message: String,
pub line: usize,
pub context: String,
}Expand description
Information about a specific parsing error
Fields§
§message: StringThe error message
line: usizeThe line number where the error occurred
context: StringThe context around the error
Trait Implementations§
impl Eq for ErrorInfo
impl StructuralPartialEq for ErrorInfo
Auto Trait Implementations§
impl Freeze for ErrorInfo
impl RefUnwindSafe for ErrorInfo
impl Send for ErrorInfo
impl Sync for ErrorInfo
impl Unpin for ErrorInfo
impl UnsafeUnpin for ErrorInfo
impl UnwindSafe for ErrorInfo
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