pub enum AspectErrorKind {
OpeningFile,
ReadingFile,
AddingAspect(AspectAddingError),
InvalidAspectDefault(Box<str>),
}Expand description
Represents the kind of errors that can occur during aspect file parsing.
Variants§
OpeningFile
Failed to open the aspects configuration file.
ReadingFile
Failed to read lines from the aspects configuration file.
AddingAspect(AspectAddingError)
Error while adding a default aspect from the aspects file.
InvalidAspectDefault(Box<str>)
An invalid aspect default was found in the aspects file.
Trait Implementations§
Source§impl Debug for AspectErrorKind
impl Debug for AspectErrorKind
Source§impl Display for AspectErrorKind
impl Display for AspectErrorKind
Source§impl Error for AspectErrorKind
impl Error for AspectErrorKind
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()
Auto Trait Implementations§
impl Freeze for AspectErrorKind
impl RefUnwindSafe for AspectErrorKind
impl Send for AspectErrorKind
impl Sync for AspectErrorKind
impl Unpin for AspectErrorKind
impl UnwindSafe for AspectErrorKind
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