pub struct JsonBacktraceFrame<T> {
pub file: T,
pub fragment: JsonFragmentPathBuf,
}Expand description
A single frame of a JsonBacktraceBuf: the file a fragment was found
in, and the path to that fragment within it.
Fields§
§file: TFile in which the error occurred.
fragment: JsonFragmentPathBufPath to the exact fragment that caused the error.
Implementations§
Source§impl<T> JsonBacktraceFrame<T>
impl<T> JsonBacktraceFrame<T>
Trait Implementations§
Source§impl<T: Clone> Clone for JsonBacktraceFrame<T>
impl<T: Clone> Clone for JsonBacktraceFrame<T>
Source§impl<T: Debug> Debug for JsonBacktraceFrame<T>
impl<T: Debug> Debug for JsonBacktraceFrame<T>
impl<T: Eq> Eq for JsonBacktraceFrame<T>
Source§impl<T: Hash> Hash for JsonBacktraceFrame<T>
impl<T: Hash> Hash for JsonBacktraceFrame<T>
Source§impl<T: Ord> Ord for JsonBacktraceFrame<T>
impl<T: Ord> Ord for JsonBacktraceFrame<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<T: PartialEq> PartialEq for JsonBacktraceFrame<T>
impl<T: PartialEq> PartialEq for JsonBacktraceFrame<T>
Source§impl<T: PartialOrd> PartialOrd for JsonBacktraceFrame<T>
impl<T: PartialOrd> PartialOrd for JsonBacktraceFrame<T>
impl<T: PartialEq> StructuralPartialEq for JsonBacktraceFrame<T>
Auto Trait Implementations§
impl<T> Freeze for JsonBacktraceFrame<T>where
T: Freeze,
impl<T> RefUnwindSafe for JsonBacktraceFrame<T>where
T: RefUnwindSafe,
impl<T> Send for JsonBacktraceFrame<T>where
T: Send,
impl<T> Sync for JsonBacktraceFrame<T>where
T: Sync,
impl<T> Unpin for JsonBacktraceFrame<T>where
T: Unpin,
impl<T> UnsafeUnpin for JsonBacktraceFrame<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for JsonBacktraceFrame<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> JsonAt for T
impl<T> JsonAt for T
Source§fn json_at<F>(
self,
location: impl Into<Vec<JsonBacktraceFrame<F>>>,
) -> JsonLocated<T, F>
fn json_at<F>( self, location: impl Into<Vec<JsonBacktraceFrame<F>>>, ) -> JsonLocated<T, F>
Pairs
self with location.