pub enum AspectExpressionError {
AddingAspect(AspectAddingError),
InvalidAspectDefault(Box<str>),
}Expand description
Represents errors that can occur when parsing a single aspect default expression.
Variants§
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 AspectExpressionError
impl Debug for AspectExpressionError
Source§impl Display for AspectExpressionError
impl Display for AspectExpressionError
Source§impl Error for AspectExpressionError
impl Error for AspectExpressionError
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 AspectExpressionError
impl RefUnwindSafe for AspectExpressionError
impl Send for AspectExpressionError
impl Sync for AspectExpressionError
impl Unpin for AspectExpressionError
impl UnsafeUnpin for AspectExpressionError
impl UnwindSafe for AspectExpressionError
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