pub enum ReferenceLocatorKind {
VersionedArchive,
LiveCurrentDirectory,
LocalCachedCopy,
DistroSourcePackage,
Unknown,
}Expand description
Where an admitted reference came from (T16.3) — the “which reference?” question’s location
half. The central rule: only a VersionedArchive (a release tarball you can re-fetch and re-pin)
can back a sealed release claim; the others support exploration/diagnosis but not a sealed claim.
Variants§
VersionedArchive
A pinned, re-fetchable release archive (e.g. the T12.5a.2 tzdb-2026b.tar.lz). Sealed-claim grade.
LiveCurrentDirectory
Whatever zic/zdump is on PATH right now — moves under your feet; exploration only.
LocalCachedCopy
A local cached copy of bytes (integrity depends on how it was pinned).
DistroSourcePackage
A distribution’s source package (a patch-stack over upstream; distinct provenance).
Unknown
Provenance not established.
Implementations§
Trait Implementations§
Source§impl Clone for ReferenceLocatorKind
impl Clone for ReferenceLocatorKind
Source§fn clone(&self) -> ReferenceLocatorKind
fn clone(&self) -> ReferenceLocatorKind
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 ReferenceLocatorKind
Source§impl Debug for ReferenceLocatorKind
impl Debug for ReferenceLocatorKind
impl Eq for ReferenceLocatorKind
Source§impl PartialEq for ReferenceLocatorKind
impl PartialEq for ReferenceLocatorKind
Source§fn eq(&self, other: &ReferenceLocatorKind) -> bool
fn eq(&self, other: &ReferenceLocatorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReferenceLocatorKind
Auto Trait Implementations§
impl Freeze for ReferenceLocatorKind
impl RefUnwindSafe for ReferenceLocatorKind
impl Send for ReferenceLocatorKind
impl Sync for ReferenceLocatorKind
impl Unpin for ReferenceLocatorKind
impl UnsafeUnpin for ReferenceLocatorKind
impl UnwindSafe for ReferenceLocatorKind
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