pub enum ExplicitMarkerEndOutcome {
Success,
SoftFail,
HardError,
}Expand description
How the inner parser/matcher finished for an explicit .trace() End event.
Variants§
Success
Some(_) / matcher matched.
SoftFail
None / matcher did not match (no hard error).
HardError
Hard error from the inner parse/match.
Trait Implementations§
Source§impl Clone for ExplicitMarkerEndOutcome
impl Clone for ExplicitMarkerEndOutcome
Source§fn clone(&self) -> ExplicitMarkerEndOutcome
fn clone(&self) -> ExplicitMarkerEndOutcome
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 ExplicitMarkerEndOutcome
impl Debug for ExplicitMarkerEndOutcome
Source§impl<'de> Deserialize<'de> for ExplicitMarkerEndOutcome
impl<'de> Deserialize<'de> for ExplicitMarkerEndOutcome
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 ExplicitMarkerEndOutcome
impl PartialEq for ExplicitMarkerEndOutcome
Source§fn eq(&self, other: &ExplicitMarkerEndOutcome) -> bool
fn eq(&self, other: &ExplicitMarkerEndOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExplicitMarkerEndOutcome
impl Serialize for ExplicitMarkerEndOutcome
impl Copy for ExplicitMarkerEndOutcome
impl Eq for ExplicitMarkerEndOutcome
impl StructuralPartialEq for ExplicitMarkerEndOutcome
Auto Trait Implementations§
impl Freeze for ExplicitMarkerEndOutcome
impl RefUnwindSafe for ExplicitMarkerEndOutcome
impl Send for ExplicitMarkerEndOutcome
impl Sync for ExplicitMarkerEndOutcome
impl Unpin for ExplicitMarkerEndOutcome
impl UnsafeUnpin for ExplicitMarkerEndOutcome
impl UnwindSafe for ExplicitMarkerEndOutcome
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