pub struct CheckContext {
pub candidate: Option<Manifest>,
pub base: Manifest,
pub pre: BTreeMap<UnitId, UnitStatus>,
pub pre_passing: BTreeMap<UnitId, Vec<ProbeId>>,
}Expand description
Recorded at Prepared (§12 step 4) for the Checking and revert probe runs: the candidate’s and the base’s manifests, and every unit’s status before.
Fields§
§candidate: Option<Manifest>§base: Manifest§pre: BTreeMap<UnitId, UnitStatus>§pre_passing: BTreeMap<UnitId, Vec<ProbeId>>Per unit, the Readiness probes passing before (§9, R07): each must still pass after, whatever the unit’s aggregate status was.
Trait Implementations§
Source§impl Clone for CheckContext
impl Clone for CheckContext
Source§fn clone(&self) -> CheckContext
fn clone(&self) -> CheckContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckContext
impl Debug for CheckContext
Source§impl Default for CheckContext
impl Default for CheckContext
Source§fn default() -> CheckContext
fn default() -> CheckContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckContext
impl<'de> Deserialize<'de> for CheckContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CheckContext
impl PartialEq for CheckContext
Source§impl Serialize for CheckContext
impl Serialize for CheckContext
impl Eq for CheckContext
impl StructuralPartialEq for CheckContext
Auto Trait Implementations§
impl Freeze for CheckContext
impl RefUnwindSafe for CheckContext
impl Send for CheckContext
impl Sync for CheckContext
impl Unpin for CheckContext
impl UnsafeUnpin for CheckContext
impl UnwindSafe for CheckContext
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