pub enum ZoneTableFinding {
NonUtf8,
EmptyTable,
InvalidColumnCount,
InvalidCountryCode,
InvalidCoordinateFormat,
EmptyNameField,
DuplicateSemanticRow,
DuplicateCodeInRow,
}Expand description
A single typed structural finding (T16.4) — wording-independent, like the diagnostic classes.
Variants§
NonUtf8
EmptyTable
InvalidColumnCount
InvalidCountryCode
InvalidCoordinateFormat
EmptyNameField
The zone-name (zone tables) or country-name (iso3166.tab) field is empty.
DuplicateSemanticRow
A semantic duplicate: the same identity tuple repeats — (country-code-set, coordinates, zone-name) for zone tables, or the country code for iso3166.tab. Comments are excluded
from row identity. NOT a duplicate country code across rows — a country legitimately spans many
rows in zone.tab/zone1970.tab (e.g. US ≈ 29); only an identical identity tuple is suspect.
DuplicateCodeInRow
A country code repeated within a single zone1970.tab comma-list (set-semantics, not string).
Implementations§
Trait Implementations§
Source§impl Clone for ZoneTableFinding
impl Clone for ZoneTableFinding
Source§fn clone(&self) -> ZoneTableFinding
fn clone(&self) -> ZoneTableFinding
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 moreimpl Copy for ZoneTableFinding
Source§impl Debug for ZoneTableFinding
impl Debug for ZoneTableFinding
impl Eq for ZoneTableFinding
Source§impl PartialEq for ZoneTableFinding
impl PartialEq for ZoneTableFinding
Source§fn eq(&self, other: &ZoneTableFinding) -> bool
fn eq(&self, other: &ZoneTableFinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ZoneTableFinding
Auto Trait Implementations§
impl Freeze for ZoneTableFinding
impl RefUnwindSafe for ZoneTableFinding
impl Send for ZoneTableFinding
impl Sync for ZoneTableFinding
impl Unpin for ZoneTableFinding
impl UnsafeUnpin for ZoneTableFinding
impl UnwindSafe for ZoneTableFinding
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