pub struct ParseKvError {
pub line: usize,
pub message: String,
}Expand description
Error returned by parse_kv_lines when a line cannot be parsed.
Fields§
§line: usize1-based line number where the parse error occurred.
message: StringHuman-readable error message.
Trait Implementations§
Source§impl Clone for ParseKvError
impl Clone for ParseKvError
Source§fn clone(&self) -> ParseKvError
fn clone(&self) -> ParseKvError
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 ParseKvError
impl Debug for ParseKvError
Source§impl Display for ParseKvError
impl Display for ParseKvError
Source§impl PartialEq for ParseKvError
impl PartialEq for ParseKvError
impl Eq for ParseKvError
impl StructuralPartialEq for ParseKvError
Auto Trait Implementations§
impl Freeze for ParseKvError
impl RefUnwindSafe for ParseKvError
impl Send for ParseKvError
impl Sync for ParseKvError
impl Unpin for ParseKvError
impl UnwindSafe for ParseKvError
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