pub enum PlanZoneTarget {
Variable(Utf8PathBuf),
Tracked(Utf8PathBuf),
Broken(String),
Unchecked,
}Expand description
Where a gate may look for entry documents, and what named the place.
The distinction is what keeps the check honest. A path a command may read carries the name of whoever declared it, so an absent directory is reported against that declaration. Every other case reads as no zone: an untracked zone and an unset variable are absent on a fresh clone, and failing there would judge a layout the project never promised.
Variants§
Variable(Utf8PathBuf)
The variable named this path.
Tracked(Utf8PathBuf)
The manifest recorded this tracked path.
Broken(String)
The record declares a gated zone the reader cannot resolve.
Unchecked
Nothing a command may check.
Trait Implementations§
Source§impl Clone for PlanZoneTarget
impl Clone for PlanZoneTarget
Source§fn clone(&self) -> PlanZoneTarget
fn clone(&self) -> PlanZoneTarget
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 moreSource§impl Debug for PlanZoneTarget
impl Debug for PlanZoneTarget
impl Eq for PlanZoneTarget
Source§impl PartialEq for PlanZoneTarget
impl PartialEq for PlanZoneTarget
impl StructuralPartialEq for PlanZoneTarget
Auto Trait Implementations§
impl Freeze for PlanZoneTarget
impl RefUnwindSafe for PlanZoneTarget
impl Send for PlanZoneTarget
impl Sync for PlanZoneTarget
impl Unpin for PlanZoneTarget
impl UnsafeUnpin for PlanZoneTarget
impl UnwindSafe for PlanZoneTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.