pub struct SyntaxError {
pub lineno: usize,
pub colno_start: usize,
pub colno_end: usize,
pub message: String,
pub expected: &'static str,
}
Expand description
Syntax error occurring while parsing a journal file content.
Fields§
§lineno: usize
§colno_start: usize
§colno_end: usize
§message: String
§expected: &'static str
Trait Implementations§
Source§impl Debug for SyntaxError
impl Debug for SyntaxError
Source§impl PartialEq for SyntaxError
impl PartialEq for SyntaxError
impl StructuralPartialEq for SyntaxError
Auto Trait Implementations§
impl Freeze for SyntaxError
impl RefUnwindSafe for SyntaxError
impl Send for SyntaxError
impl Sync for SyntaxError
impl Unpin for SyntaxError
impl UnwindSafe for SyntaxError
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