Skip to main content

default_out_kind_name

Function default_out_kind_name 

Source
pub fn default_out_kind_name(record: &Ident) -> Ident
Expand description

What a node’s product VOCABULARY is called: <Node>OutKind.

The one emitted name a DOWNSTREAM declaration spells: out = "Boxes" becomes <upstream::Detector as Emits<{ upstream::DetectorOutKind::Boxes as usize }>>::Out, built by swapping the upstream path’s last segment for this. That makes the convention load-bearing across the two-derive wall, which is why it lives here — one function, and both sides of the wall read it.