pub struct TraceMarkerFailureSnapshot {
pub span_start: usize,
pub span_end: usize,
pub expected: Vec<String>,
pub summary: String,
}Expand description
Compact error context attached to a .trace() End when the inner parse/match failed.
Fields§
§span_start: usize§span_end: usize§expected: Vec<String>§summary: StringTrait Implementations§
Source§impl Clone for TraceMarkerFailureSnapshot
impl Clone for TraceMarkerFailureSnapshot
Source§fn clone(&self) -> TraceMarkerFailureSnapshot
fn clone(&self) -> TraceMarkerFailureSnapshot
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 TraceMarkerFailureSnapshot
impl Debug for TraceMarkerFailureSnapshot
Source§impl<'de> Deserialize<'de> for TraceMarkerFailureSnapshot
impl<'de> Deserialize<'de> for TraceMarkerFailureSnapshot
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 TraceMarkerFailureSnapshot
impl PartialEq for TraceMarkerFailureSnapshot
Source§fn eq(&self, other: &TraceMarkerFailureSnapshot) -> bool
fn eq(&self, other: &TraceMarkerFailureSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TraceMarkerFailureSnapshot
impl StructuralPartialEq for TraceMarkerFailureSnapshot
Auto Trait Implementations§
impl Freeze for TraceMarkerFailureSnapshot
impl RefUnwindSafe for TraceMarkerFailureSnapshot
impl Send for TraceMarkerFailureSnapshot
impl Sync for TraceMarkerFailureSnapshot
impl Unpin for TraceMarkerFailureSnapshot
impl UnsafeUnpin for TraceMarkerFailureSnapshot
impl UnwindSafe for TraceMarkerFailureSnapshot
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