pub enum DefParseError {
ParseError(Error<Rule>),
BitSizeUnsupported(ErrSpan),
}
Variants§
Trait Implementations§
Source§impl Debug for DefParseError
impl Debug for DefParseError
Source§impl Display for DefParseError
impl Display for DefParseError
Source§impl Error for DefParseError
impl Error for DefParseError
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 From<DefParseError> for ParamdefDeserializeError
impl From<DefParseError> for ParamdefDeserializeError
Source§fn from(source: DefParseError) -> Self
fn from(source: DefParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefParseError
impl RefUnwindSafe for DefParseError
impl Send for DefParseError
impl Sync for DefParseError
impl Unpin for DefParseError
impl UnwindSafe for DefParseError
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