#[non_exhaustive]pub enum TraceEventKind {
MatchFail,
MatchHardError,
ParserEnter,
ParserExit,
Unknown,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MatchFail
MatchHardError
ParserEnter
ParserExit
Unknown
Reserved for forward compatibility with traces produced by newer marser versions.
Trait Implementations§
Source§impl Clone for TraceEventKind
impl Clone for TraceEventKind
Source§fn clone(&self) -> TraceEventKind
fn clone(&self) -> TraceEventKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraceEventKind
impl Debug for TraceEventKind
Source§impl<'de> Deserialize<'de> for TraceEventKind
impl<'de> Deserialize<'de> for TraceEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TraceEventKind
impl PartialEq for TraceEventKind
Source§fn eq(&self, other: &TraceEventKind) -> bool
fn eq(&self, other: &TraceEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceEventKind
impl Serialize for TraceEventKind
impl Eq for TraceEventKind
impl StructuralPartialEq for TraceEventKind
Auto Trait Implementations§
impl Freeze for TraceEventKind
impl RefUnwindSafe for TraceEventKind
impl Send for TraceEventKind
impl Sync for TraceEventKind
impl Unpin for TraceEventKind
impl UnsafeUnpin for TraceEventKind
impl UnwindSafe for TraceEventKind
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