pub struct BusHopRow {
pub file: String,
pub line: usize,
pub message: String,
pub to: String,
pub to_file: String,
pub evidence: String,
pub direction: BusDirection,
pub message_handlers: usize,
}Expand description
One bus-hop provenance row.
The publish site (file/line), the resolved message, the handler
(to/to_file), the evidence word resolve/bus.rs established the hop
through – a pass-through, never respelled here, since that module’s own
word list is the one place any of them is spelled – and which side of
the edge the queried symbol sits on.
Fields§
§file: StringThe publish site’s file.
line: usizeThe publish site’s line.
message: StringThe resolved message def id.
to: StringThe handler/consumer def id.
to_file: StringThe handler’s declaring file.
evidence: StringThe evidence word the hop resolved through.
direction: BusDirectionWhich side of the edge the queried symbol sits on.
message_handlers: usizeHow many distinct handlers this row’s message reaches across the whole graph. A message with one handler is a route; a message with eighty is a shared contract whose every publisher appears to reach all of them, and a reader cannot tell those apart from the rows alone. Counted from the edges at query time rather than stored: the edges already carry it, so persisting it would only be a second copy that can disagree.
Trait Implementations§
impl StructuralPartialEq for BusHopRow
Auto Trait Implementations§
impl Freeze for BusHopRow
impl RefUnwindSafe for BusHopRow
impl Send for BusHopRow
impl Sync for BusHopRow
impl Unpin for BusHopRow
impl UnsafeUnpin for BusHopRow
impl UnwindSafe for BusHopRow
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
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> ⓘ
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> ⓘ
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