pub struct TraceHop {
pub symbol: String,
pub file: String,
pub line: u32,
pub signature: Option<String>,
pub is_entry_point: bool,
}Expand description
A single hop in a trace path.
Fields§
§symbol: StringSymbol name at this hop.
file: StringFile path (relative to project root).
line: u321-based line number.
signature: Option<String>Function signature if available.
is_entry_point: boolWhether this hop is an entry point.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceHop
impl RefUnwindSafe for TraceHop
impl Send for TraceHop
impl Sync for TraceHop
impl Unpin for TraceHop
impl UnsafeUnpin for TraceHop
impl UnwindSafe for TraceHop
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more