Struct makedeb_srcinfo::ParserError
source · [−]Expand description
A struct representing the output of a parsing error.
Fields
msg: String
A message describing the parsing error.
line_num: Option<usize>
The line number the error occured on. This will always be the Some
variant unless there
was an issue with the file as a whole, in which case the None
variant will be returned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more