pub enum ParityClass {
ByteIdentical,
StructurallyEquivalent,
SlimFatTimecnt,
TypeCount,
AbbrevTable,
Version,
Footer,
TtisStdUt,
Leap,
Mixed,
}Expand description
The taxonomy a zone’s structural difference falls into. A zone lands in exactly one class: the single differing dimension when there is exactly one, else a coarser catch-all.
Variants§
ByteIdentical
Byte-for-byte identical output.
StructurallyEquivalent
Bytes differ but every decoded count + version + footer matches (type/abbreviation ordering or designation packing differs but is invisible at the count level).
SlimFatTimecnt
Only timecnt differs — the documented slim/fat explicit-transition window.
TypeCount
Only typecnt differs — local-time-type table count.
AbbrevTable
Only charcnt differs — designation-table packing (zic suffix-sharing).
Version
Only the TZif version byte differs.
Only the POSIX TZ footer string differs.
TtisStdUt
Only isutcnt/isstdcnt differ — ttisut/ttisstd indicator policy.
Leap
Only leapcnt differs — leap-record count.
Mixed
More than one dimension differs — flagged for investigation.
Implementations§
Trait Implementations§
Source§impl Clone for ParityClass
impl Clone for ParityClass
Source§fn clone(&self) -> ParityClass
fn clone(&self) -> ParityClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ParityClass
Source§impl Debug for ParityClass
impl Debug for ParityClass
impl Eq for ParityClass
Source§impl Ord for ParityClass
impl Ord for ParityClass
Source§fn cmp(&self, other: &ParityClass) -> Ordering
fn cmp(&self, other: &ParityClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ParityClass
impl PartialEq for ParityClass
Source§fn eq(&self, other: &ParityClass) -> bool
fn eq(&self, other: &ParityClass) -> bool
self and other values to be equal, and is used by ==.