pub enum AspectAddingError {
AlreadyExists,
InvalidCharacter(char),
}Expand description
Represents errors that can occur when adding an aspect manually.
Variants§
AlreadyExists
Indicades that an aspect with this name has already been added.
InvalidCharacter(char)
Indicates an invalid character was encountered.
Trait Implementations§
Source§impl Debug for AspectAddingError
impl Debug for AspectAddingError
Source§impl Display for AspectAddingError
impl Display for AspectAddingError
Source§impl Error for AspectAddingError
impl Error for AspectAddingError
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()
Auto Trait Implementations§
impl Freeze for AspectAddingError
impl RefUnwindSafe for AspectAddingError
impl Send for AspectAddingError
impl Sync for AspectAddingError
impl Unpin for AspectAddingError
impl UnwindSafe for AspectAddingError
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