Enum dtrace_parser::DTraceError
source · pub enum DTraceError {
UnexpectedToken {
expected: Rule,
found: Rule,
},
EmptyPairsIterator,
DuplicateProbeName((String, String)),
InvalidProviderName(String),
InvalidProbeName(String),
IO(Error),
ParseError(Box<Error<Rule>>),
}
Expand description
Type representing errors that occur when parsing a D file.
Variants§
UnexpectedToken
EmptyPairsIterator
DuplicateProbeName((String, String))
InvalidProviderName(String)
InvalidProbeName(String)
IO(Error)
ParseError(Box<Error<Rule>>)
Trait Implementations§
source§impl Debug for DTraceError
impl Debug for DTraceError
source§impl Display for DTraceError
impl Display for DTraceError
source§impl Error for DTraceError
impl Error for DTraceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for DTraceError
impl Send for DTraceError
impl Sync for DTraceError
impl Unpin for DTraceError
impl !UnwindSafe for DTraceError
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