pub struct EmitFamily {
pub field_dropped: DiagnosticInfo,
pub record_dropped: DiagnosticInfo,
pub value_defaulted: DiagnosticInfo,
pub value_collapsed: DiagnosticInfo,
pub value_substituted: DiagnosticInfo,
pub value_truncated: DiagnosticInfo,
pub rating_set_dropped: DiagnosticInfo,
pub extras_dropped: DiagnosticInfo,
pub areas_dropped: DiagnosticInfo,
pub not_a_number: DiagnosticInfo,
pub reference_missing: DiagnosticInfo,
pub element_relabeled: DiagnosticInfo,
}Expand description
The write side family every target shares.
A writer’s fidelity losses are the same eleven questions for every target — what was dropped, what was defaulted, what was collapsed — so the family is declared once per target and the shared writer passes take the target’s family rather than a label they cannot turn into a code.
Fields§
§field_dropped: DiagnosticInfoA field the target format has no column or key for.
record_dropped: DiagnosticInfoA whole element or record the target does not model.
value_defaulted: DiagnosticInfoA value the target requires and the source never stated.
value_collapsed: DiagnosticInfoRicher structure reduced to what the target’s one field can hold.
value_substituted: DiagnosticInfoA stated value replaced by another the target can represent.
value_truncated: DiagnosticInfoA value shortened to the target’s width, e.g. a cost curve order.
rating_set_dropped: DiagnosticInfoA branch rating set beyond the target’s rate_a/rate_b/rate_c.
extras_dropped: DiagnosticInfoSource format passthrough fields the writer does not replay.
areas_dropped: DiagnosticInfoThe area table, which is typed rather than passthrough.
not_a_number: DiagnosticInfoA non-finite value written as a sentinel or a JSON null.
reference_missing: DiagnosticInfoThe network has no reference bus for the target’s solver to key on.
element_relabeled: DiagnosticInfoA normalized line lands in the target’s transformer section.
Implementations§
Source§impl EmitFamily
impl EmitFamily
Sourcepub fn entries(&'static self) -> [&'static DiagnosticInfo; 12]
pub fn entries(&'static self) -> [&'static DiagnosticInfo; 12]
Every entry, for the registry gates and the generated reference.
Trait Implementations§
Source§impl Clone for EmitFamily
impl Clone for EmitFamily
Source§fn clone(&self) -> EmitFamily
fn clone(&self) -> EmitFamily
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more