pub struct ParseEntryError {
pub line: usize,
pub message: String,
}
Expand description
Errors while parsing settings
Fields§
§line: usize
Line number of invalid entry (using 1-based indexing)
message: String
Error message / reason for being invalid
Trait Implementations§
Source§impl Clone for ParseEntryError
impl Clone for ParseEntryError
Source§fn clone(&self) -> ParseEntryError
fn clone(&self) -> ParseEntryError
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 Debug for ParseEntryError
impl Debug for ParseEntryError
Source§impl Display for ParseEntryError
impl Display for ParseEntryError
Source§impl Error for ParseEntryError
impl Error for ParseEntryError
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 Hash for ParseEntryError
impl Hash for ParseEntryError
Source§impl Ord for ParseEntryError
impl Ord for ParseEntryError
Source§fn cmp(&self, other: &ParseEntryError) -> Ordering
fn cmp(&self, other: &ParseEntryError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParseEntryError
impl PartialEq for ParseEntryError
Source§impl PartialOrd for ParseEntryError
impl PartialOrd for ParseEntryError
impl Eq for ParseEntryError
impl StructuralPartialEq for ParseEntryError
Auto Trait Implementations§
impl Freeze for ParseEntryError
impl RefUnwindSafe for ParseEntryError
impl Send for ParseEntryError
impl Sync for ParseEntryError
impl Unpin for ParseEntryError
impl UnwindSafe for ParseEntryError
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