pub enum StandardsTrust {
RepoTracked,
External,
}Expand description
Whether the pack’s bytes carry provable repo history (D-A/D-J). The
decision is made by the caller (trust_for_dir for the lint surfaces,
packDir absoluteness for mission loads); the loader only enforces the
consequence.
Variants§
RepoTracked
A tracked, repo-relative pack: enforced rules may activate (their lifecycle is provable against base history).
External
An external or untracked pack: approved advisory rules load; an effectively ENFORCED rule is a load error naming the trust remedy.
Trait Implementations§
Source§impl Clone for StandardsTrust
impl Clone for StandardsTrust
Source§fn clone(&self) -> StandardsTrust
fn clone(&self) -> StandardsTrust
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 StandardsTrust
Source§impl Debug for StandardsTrust
impl Debug for StandardsTrust
impl Eq for StandardsTrust
Source§impl PartialEq for StandardsTrust
impl PartialEq for StandardsTrust
impl StructuralPartialEq for StandardsTrust
Auto Trait Implementations§
impl Freeze for StandardsTrust
impl RefUnwindSafe for StandardsTrust
impl Send for StandardsTrust
impl Sync for StandardsTrust
impl Unpin for StandardsTrust
impl UnsafeUnpin for StandardsTrust
impl UnwindSafe for StandardsTrust
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