pub struct TraceToResult {
pub target_symbol: String,
pub target_file: String,
pub paths: Vec<TracePath>,
pub total_paths: usize,
pub entry_points_found: usize,
pub max_depth_reached: bool,
pub truncated_paths: usize,
}Expand description
Result of a trace_to query.
Fields§
§target_symbol: StringThe target symbol that was traced.
target_file: StringThe target file (relative to project root).
paths: Vec<TracePath>Complete paths from entry points to the target.
total_paths: usizeTotal number of complete paths found.
entry_points_found: usizeNumber of distinct entry points found across all paths.
max_depth_reached: boolWhether any path was cut short by the depth limit.
truncated_paths: usizeNumber of paths that reached a dead end (no callers, not entry point).
Trait Implementations§
Source§impl Clone for TraceToResult
impl Clone for TraceToResult
Source§fn clone(&self) -> TraceToResult
fn clone(&self) -> TraceToResult
Returns a duplicate of the value. Read more
1.0.0 · 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 TraceToResult
impl Debug for TraceToResult
Auto Trait Implementations§
impl Freeze for TraceToResult
impl RefUnwindSafe for TraceToResult
impl Send for TraceToResult
impl Sync for TraceToResult
impl Unpin for TraceToResult
impl UnsafeUnpin for TraceToResult
impl UnwindSafe for TraceToResult
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