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)>
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 DTraceError
impl !RefUnwindSafe for DTraceError
impl Send for DTraceError
impl Sync for DTraceError
impl Unpin for DTraceError
impl UnsafeUnpin 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