#[non_exhaustive]pub enum PlanExempt {
On,
Off,
OffByAmontConf,
Unreadable,
}Expand description
What a tree says about the canonical route.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
On
Neither opt-out is committed.
Off
@plan-exempt off in the tree’s attest-inputs.
OffByAmontConf
Only set planExempt off in the tree’s amont.conf: off, and
deprecated (read until 2.0.0).
Unreadable
A failing ls-tree, or a listed file whose blob cannot be read. Fails
narrow: callers treat it as off; only the log differs.
Implementations§
Trait Implementations§
Source§impl Clone for PlanExempt
impl Clone for PlanExempt
impl Copy for PlanExempt
Source§impl Debug for PlanExempt
impl Debug for PlanExempt
impl Eq for PlanExempt
Source§impl PartialEq for PlanExempt
impl PartialEq for PlanExempt
impl StructuralPartialEq for PlanExempt
Auto Trait Implementations§
impl Freeze for PlanExempt
impl RefUnwindSafe for PlanExempt
impl Send for PlanExempt
impl Sync for PlanExempt
impl Unpin for PlanExempt
impl UnsafeUnpin for PlanExempt
impl UnwindSafe for PlanExempt
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