pub enum RootOwner {
Host,
Repository(String),
}Expand description
Which setting a root came from.
Carried by the preflight so that two roots belonging to the same owner are never compared with each other — re-validating a repository’s current root must not report that it overlaps itself — and so that a failure can name the command that fixes it.
Variants§
Host
Host.runner_root_override, or the platform default standing in for it.
Repository(String)
A repository’s persistent workspace root, by owner/name.
Implementations§
Trait Implementations§
impl Eq for RootOwner
Source§impl Ord for RootOwner
impl Ord for RootOwner
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for RootOwner
impl PartialOrd for RootOwner
impl StructuralPartialEq for RootOwner
Auto Trait Implementations§
impl Freeze for RootOwner
impl RefUnwindSafe for RootOwner
impl Send for RootOwner
impl Sync for RootOwner
impl Unpin for RootOwner
impl UnsafeUnpin for RootOwner
impl UnwindSafe for RootOwner
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