pub struct RoutingTrace {
pub source: RouteSource,
pub selection_kind: SelectionKind,
pub match_evidence: MatchEvidence,
pub harness: String,
pub harness_order_position: Option<usize>,
pub candidates_tried: Vec<String>,
pub assessments: Vec<CandidateAssessment>,
pub diagnostics: Vec<String>,
}Expand description
Full routing trace for diagnostics/provenance.
Fields§
§source: RouteSource§selection_kind: SelectionKind§match_evidence: MatchEvidence§harness: String§harness_order_position: Option<usize>§candidates_tried: Vec<String>§assessments: Vec<CandidateAssessment>§diagnostics: Vec<String>Implementations§
Source§impl RoutingTrace
impl RoutingTrace
pub fn selected_harness(&self) -> &str
pub fn selected_selection_kind(&self) -> SelectionKind
pub fn selected_match_evidence(&self) -> MatchEvidence
pub fn selected_diagnostics(&self) -> &[String]
pub fn selected_harness_order_position(&self) -> Option<usize>
pub fn selected_chosen_slug_evidence( &self, ) -> Option<SelectedChosenSlugEvidence>
pub fn to_report(&self) -> RouteDecisionReport
Trait Implementations§
Source§impl Clone for RoutingTrace
impl Clone for RoutingTrace
Source§fn clone(&self) -> RoutingTrace
fn clone(&self) -> RoutingTrace
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 moreAuto Trait Implementations§
impl Freeze for RoutingTrace
impl RefUnwindSafe for RoutingTrace
impl Send for RoutingTrace
impl Sync for RoutingTrace
impl Unpin for RoutingTrace
impl UnsafeUnpin for RoutingTrace
impl UnwindSafe for RoutingTrace
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