pub struct ParseWarning {
pub line: String,
pub reason: &'static str,
}Expand description
Malformed lines encountered during parsing.
Fields§
§line: String§reason: &'static strTrait Implementations§
Source§impl Debug for ParseWarning
impl Debug for ParseWarning
impl Eq for ParseWarning
Source§impl PartialEq for ParseWarning
impl PartialEq for ParseWarning
Source§fn eq(&self, other: &ParseWarning) -> bool
fn eq(&self, other: &ParseWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseWarning
Auto Trait Implementations§
impl Freeze for ParseWarning
impl RefUnwindSafe for ParseWarning
impl Send for ParseWarning
impl Sync for ParseWarning
impl Unpin for ParseWarning
impl UnsafeUnpin for ParseWarning
impl UnwindSafe for ParseWarning
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more