pub enum SectionReaderError {
InvalidSectionName(String),
InvalidQuotedValue(String),
InvalidContinuation(String),
}Expand description
Errors that can occur while parsing sections in a file
Variants§
InvalidSectionName(String)
Invalid section name found in the file
InvalidQuotedValue(String)
Invalid quoted value found in a section
InvalidContinuation(String)
Invalid line continuation found in a section
Trait Implementations§
Source§impl Debug for SectionReaderError
impl Debug for SectionReaderError
Source§impl Display for SectionReaderError
impl Display for SectionReaderError
Source§impl Error for SectionReaderError
impl Error for SectionReaderError
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 From<SectionReaderError> for WinInfFileError
impl From<SectionReaderError> for WinInfFileError
Source§fn from(source: SectionReaderError) -> Self
fn from(source: SectionReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SectionReaderError
impl RefUnwindSafe for SectionReaderError
impl Send for SectionReaderError
impl Sync for SectionReaderError
impl Unpin for SectionReaderError
impl UnwindSafe for SectionReaderError
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