pub enum DelinksParseError {
File {
source: FileError,
},
Io {
source: Error,
},
SectionParse {
source: SectionParseError,
},
Sections {
context: ParseContext,
error: Box<SectionsError>,
},
DelinkFileParse {
source: DelinkFileParseError,
},
}Variants§
File
Fields
§
source: FileErrorIo
SectionParse
Fields
§
source: SectionParseErrorSections
DelinkFileParse
Fields
§
source: DelinkFileParseErrorTrait Implementations§
Source§impl Debug for DelinksParseError
impl Debug for DelinksParseError
Source§impl Display for DelinksParseError
impl Display for DelinksParseError
Source§impl Error for DelinksParseError
impl Error for DelinksParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for DelinksParseError
impl ErrorCompat for DelinksParseError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl From<DelinkFileParseError> for DelinksParseError
impl From<DelinkFileParseError> for DelinksParseError
Source§fn from(error: DelinkFileParseError) -> Self
fn from(error: DelinkFileParseError) -> Self
Converts to this type from the input type.
Source§impl From<DelinksParseError> for LoadModuleError
impl From<DelinksParseError> for LoadModuleError
Source§fn from(error: DelinksParseError) -> Self
fn from(error: DelinksParseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DelinksParseError
impl From<Error> for DelinksParseError
Source§impl From<SectionParseError> for DelinksParseError
impl From<SectionParseError> for DelinksParseError
Source§fn from(error: SectionParseError) -> Self
fn from(error: SectionParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for DelinksParseError
impl !RefUnwindSafe for DelinksParseError
impl Send for DelinksParseError
impl Sync for DelinksParseError
impl Unpin for DelinksParseError
impl !UnwindSafe for DelinksParseError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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