pub enum ClockSource {
Environment,
HeadCommit,
WallClock,
}Expand description
Where the run’s reference epoch came from.
Churn recency weighting and ownership staleness are measured against one
instant. head_commit and environment resolve to the same value on every
run over the same commit; wall_clock does not.
Variants§
Environment
Pinned by the FALLOW_CLOCK_EPOCH environment variable.
HeadCommit
HEAD’s committer timestamp.
WallClock
The system wall clock, because no commit timestamp was readable.
Trait Implementations§
Source§impl Clone for ClockSource
impl Clone for ClockSource
impl Copy for ClockSource
Source§impl Debug for ClockSource
impl Debug for ClockSource
impl Eq for ClockSource
Source§impl PartialEq for ClockSource
impl PartialEq for ClockSource
Source§impl Serialize for ClockSource
impl Serialize for ClockSource
impl StructuralPartialEq for ClockSource
Auto Trait Implementations§
impl Freeze for ClockSource
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnsafeUnpin for ClockSource
impl UnwindSafe for ClockSource
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.