pub enum SweepWarning {
Plan(PlanWarning),
BuildChanged {
role: BuildRole,
recorded: Box<RecordedBuild>,
current: Box<RecordedBuild>,
between_shards: bool,
},
MissingRuns {
count: u64,
first: Vec<u64>,
},
}Expand description
Warning about a sweep that still runs, but likely not as intended.
Variants§
Plan(PlanWarning)
A warning of the plan.
BuildChanged
A directory whose sessions so far ran the build recorded for role, and a build current that differs.
A resume and a search resume compare the build that runs, current, against every build recorded by the
sessions that wrote runs. A merge compares the builds of the lowest shard that records builds with those of the
other shards. It sets recorded to a build of that shard and current to a build of another shard that matches
none of that shard’s builds, and sets between_shards. Two builds that
are treated as the same build are reported once, as builds that cannot be told apart.
Fields
recorded: Box<RecordedBuild>Build that a session of the directory records, or a build of the lowest shard that records builds.
current: Box<RecordedBuild>Build that runs, or a build of another shard.
MissingRuns
Runs of the plan that no merged directory holds.
Trait Implementations§
Source§impl Clone for SweepWarning
impl Clone for SweepWarning
Source§impl Debug for SweepWarning
impl Debug for SweepWarning
Source§impl Display for SweepWarning
impl Display for SweepWarning
impl Eq for SweepWarning
Source§impl PartialEq for SweepWarning
impl PartialEq for SweepWarning
impl StructuralPartialEq for SweepWarning
Auto Trait Implementations§
impl Freeze for SweepWarning
impl RefUnwindSafe for SweepWarning
impl Send for SweepWarning
impl Sync for SweepWarning
impl Unpin for SweepWarning
impl UnsafeUnpin for SweepWarning
impl UnwindSafe for SweepWarning
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
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
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more