pub enum GcRootSource {
PooledRemoteBase,
PooledStoreBase,
ConfiguredExtra,
CommandLine,
WorkerTempBase,
}Expand description
Where a scan root came from. Reported per root so an operator reading
rch gc output can tell a default from something they configured.
Variants§
PooledRemoteBase
[remediation.pooled_target] remote_base — the project mirror.
PooledStoreBase
[remediation.pooled_target] store_base — a relocated pooled store.
ConfiguredExtra
[remediation.pooled_target] gc_extra_roots — operator-configured.
CommandLine
A --root flag on this invocation.
WorkerTempBase
The worker temp base, resolved on the worker at sweep time by
remote_cargo_home_base_prelude.
Implementations§
Source§impl GcRootSource
impl GcRootSource
Trait Implementations§
Source§impl Clone for GcRootSource
impl Clone for GcRootSource
impl Copy for GcRootSource
Source§impl Debug for GcRootSource
impl Debug for GcRootSource
Source§impl Display for GcRootSource
impl Display for GcRootSource
impl Eq for GcRootSource
Source§impl Hash for GcRootSource
impl Hash for GcRootSource
Source§impl Ord for GcRootSource
impl Ord for GcRootSource
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 PartialEq for GcRootSource
impl PartialEq for GcRootSource
Source§impl PartialOrd for GcRootSource
impl PartialOrd for GcRootSource
impl StructuralPartialEq for GcRootSource
Auto Trait Implementations§
impl Freeze for GcRootSource
impl RefUnwindSafe for GcRootSource
impl Send for GcRootSource
impl Sync for GcRootSource
impl Unpin for GcRootSource
impl UnsafeUnpin for GcRootSource
impl UnwindSafe for GcRootSource
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> Comparable<K> for Q
impl<Q, K> Comparable<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.