pub enum EntryParseError {
Empty,
Comment,
Header,
NoEquals,
InvalidKey,
EscapedIntoNonExistant,
EscapedIntoHeader,
}
Variants§
Implementations§
Source§impl EntryParseError
impl EntryParseError
pub fn at_line(self, line_nr: usize) -> LinedError<Self>
Trait Implementations§
Source§impl Clone for EntryParseError
impl Clone for EntryParseError
Source§fn clone(&self) -> EntryParseError
fn clone(&self) -> EntryParseError
Returns a copy 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 EntryParseError
impl Debug for EntryParseError
Source§impl Display for EntryParseError
impl Display for EntryParseError
Source§impl Error for EntryParseError
impl Error for EntryParseError
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 PartialEq for EntryParseError
impl PartialEq for EntryParseError
impl Copy for EntryParseError
impl Eq for EntryParseError
impl StructuralPartialEq for EntryParseError
Auto Trait Implementations§
impl Freeze for EntryParseError
impl RefUnwindSafe for EntryParseError
impl Send for EntryParseError
impl Sync for EntryParseError
impl Unpin for EntryParseError
impl UnwindSafe for EntryParseError
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