pub enum NegativeCapability {
Show 16 variants
DoesNotClaimAllIanaReleasesWithoutAdmission,
DoesNotClaimArbitraryTzifRoundtrip,
DoesNotClaimFullToctouResistance,
DoesNotClaimFutureCivilTimeAuthority,
DoesNotClaimLeapSmearSemantics,
DoesNotClaimRangeTruncationLeapExpiryInteractionParityWithoutWitness,
DoesNotClaimReportAuthenticityWithoutSignatureOrReproducibleContext,
DoesNotClaimTzifValidatorAsSecuritySandbox,
DoesNotClaimUnadmittedVendorParity,
DoesNotCurateTimeOrDefineDisplayNames,
DoesNotDependOnHostEndianness,
DoesNotInferDataformFromContent,
DoesNotInferSourceVariantFromOutputShape,
DoesNotRequireManifestToReadTzif,
DoesNotShipOrOperateVendorQemuLabsInCoreRepo,
DoesNotTreatManifestAsTzifSemantics,
}Expand description
A non-claim, made a first-class machine-visible contract (T15.2). Advertised restraint is
engineering, not decoration: each variant renders a stable snake_case string and names the
guard/test/receipt that enforces the boundary (enforced_by). “We don’t claim X” is exactly where
infrastructure tools get sloppy — this makes each non-claim auditable.
Variants§
DoesNotClaimAllIanaReleasesWithoutAdmission
DoesNotClaimArbitraryTzifRoundtrip
DoesNotClaimFullToctouResistance
DoesNotClaimFutureCivilTimeAuthority
DoesNotClaimLeapSmearSemantics
zic-rs emits discrete TZif leap-second records; it never implements leap smearing.
DoesNotClaimRangeTruncationLeapExpiryInteractionParityWithoutWitness
The interaction of range truncation (-r) with leap-expiry has no semantic witness and is
not claimed (the Rolling-leap-under--r case is a hard error, not a parity claim).
DoesNotClaimReportAuthenticityWithoutSignatureOrReproducibleContext
DoesNotClaimTzifValidatorAsSecuritySandbox
DoesNotClaimUnadmittedVendorParity
DoesNotCurateTimeOrDefineDisplayNames
DoesNotDependOnHostEndianness
TZif is big-endian on disk; zic-rs writes it big-endian regardless of host endianness.
DoesNotInferDataformFromContent
DoesNotInferSourceVariantFromOutputShape
DoesNotRequireManifestToReadTzif
DoesNotShipOrOperateVendorQemuLabsInCoreRepo
The core repo admits vendor-oracle receipts; it does not run/ship QEMU/VM labs (T16.5).
DoesNotTreatManifestAsTzifSemantics
Implementations§
Source§impl NegativeCapability
impl NegativeCapability
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
The stable snake_case identifier (the report’s capability field).
Sourcepub fn enforced_by(self) -> &'static str
pub fn enforced_by(self) -> &'static str
The guard/test/receipt that enforces this non-claim (never empty — a non-claim without an enforcing reference would be decorative, which T15.2 forbids).
Trait Implementations§
Source§impl Clone for NegativeCapability
impl Clone for NegativeCapability
Source§fn clone(&self) -> NegativeCapability
fn clone(&self) -> NegativeCapability
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 NegativeCapability
Source§impl Debug for NegativeCapability
impl Debug for NegativeCapability
impl Eq for NegativeCapability
Source§impl PartialEq for NegativeCapability
impl PartialEq for NegativeCapability
Source§fn eq(&self, other: &NegativeCapability) -> bool
fn eq(&self, other: &NegativeCapability) -> bool
self and other values to be equal, and is used by ==.