pub enum ExpansionError {
NumConversionFailed(String),
}Expand description
An error type representing the failure to expand a parsed node.
This enum is used to indicate errors that can occur during the expansion of a parsed node. It provides detailed information about the specific type of error encountered.
§Variants
NumConversionFailed(String): An error indicating that a number conversion failed during expansion. It contains a string representing the value that failed to be converted.
Variants§
Trait Implementations§
Source§impl Debug for ExpansionError
impl Debug for ExpansionError
Source§impl Display for ExpansionError
impl Display for ExpansionError
Source§impl Error for ExpansionError
impl Error for ExpansionError
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 PartialEq for ExpansionError
impl PartialEq for ExpansionError
impl StructuralPartialEq for ExpansionError
Auto Trait Implementations§
impl Freeze for ExpansionError
impl RefUnwindSafe for ExpansionError
impl Send for ExpansionError
impl Sync for ExpansionError
impl Unpin for ExpansionError
impl UnwindSafe for ExpansionError
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