pub enum Overlap {
Disjoint,
Same,
Inside,
Contains,
}Expand description
How two paths sit relative to one another.
Every relation other than Overlap::Disjoint is refused for a configured
root: equality and descent would put runner material among application data
or another repository’s slots, and ancestry would put that data inside a
directory this product later removes recursively.
Variants§
Disjoint
Neither path contains the other.
Same
The two paths are the same directory.
Inside
The first path is below the second.
Contains
The first path is above the second.
Trait Implementations§
impl Copy for Overlap
impl Eq for Overlap
impl StructuralPartialEq for Overlap
Auto Trait Implementations§
impl Freeze for Overlap
impl RefUnwindSafe for Overlap
impl Send for Overlap
impl Sync for Overlap
impl Unpin for Overlap
impl UnsafeUnpin for Overlap
impl UnwindSafe for Overlap
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