pub struct ParseLineStrError<'a> {
pub errored_line_slice: ParsedLineSlice<'a, &'a str>,
pub error: SyntaxError,
}Expand description
Error in reading a line from crate::line::parse (or crate::line::parse_with_custom).
Fields§
§errored_line_slice: ParsedLineSlice<'a, &'a str>The original line that caused the error along with the remaining slice after the line.
error: SyntaxErrorThe underlying error that was experienced.
Trait Implementations§
Source§impl<'a> Clone for ParseLineStrError<'a>
impl<'a> Clone for ParseLineStrError<'a>
Source§fn clone(&self) -> ParseLineStrError<'a>
fn clone(&self) -> ParseLineStrError<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ParseLineStrError<'a>
impl<'a> Debug for ParseLineStrError<'a>
Source§impl Display for ParseLineStrError<'_>
impl Display for ParseLineStrError<'_>
Source§impl Error for ParseLineStrError<'_>
impl Error for ParseLineStrError<'_>
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()
Source§impl<'a> PartialEq for ParseLineStrError<'a>
impl<'a> PartialEq for ParseLineStrError<'a>
impl<'a> StructuralPartialEq for ParseLineStrError<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParseLineStrError<'a>
impl<'a> RefUnwindSafe for ParseLineStrError<'a>
impl<'a> Send for ParseLineStrError<'a>
impl<'a> Sync for ParseLineStrError<'a>
impl<'a> Unpin for ParseLineStrError<'a>
impl<'a> UnsafeUnpin for ParseLineStrError<'a>
impl<'a> UnwindSafe for ParseLineStrError<'a>
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