pub struct Error {
pub pos: Possition,
pub descr: String,
pub line: String,
pub errors: Vec<Error>,
pub parsing_rules: Vec<String>,
pub priority: ErrPriority,
}Expand description
Context error information
Fields§
§pos: PossitionPossition achive parsing
descr: StringError description parsing
line: StringLine content where error was produced
errors: Vec<Error>Suberrors when parsing an or (it could be removed!)
parsing_rules: Vec<String>Rules path followed till got the error
priority: ErrPriorityerror priority
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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