pub enum AdmissionRequirement {
Standing,
Tested,
ContractKept,
DoubleValidated,
}Expand description
The evidence a run’s work must carry before a merge lets it into the building.
Choosing one does not provide the evidence; runtime::mode::admits
compares what the run produced against it at the merge.
Variants§
Standing
What the building’s own rules already demand, and nothing on top. A named value rather than an absence, because an absence reads as “no checks” and the building’s checks still run.
Tested
The asset’s own tests ran and passed.
ContractKept
The observable contract did not move.
DoubleValidated
Both halves of the double validation: held-in and held-out.
Implementations§
Trait Implementations§
Source§impl Clone for AdmissionRequirement
impl Clone for AdmissionRequirement
impl Copy for AdmissionRequirement
Source§impl Debug for AdmissionRequirement
impl Debug for AdmissionRequirement
Source§impl<'de> Deserialize<'de> for AdmissionRequirement
impl<'de> Deserialize<'de> for AdmissionRequirement
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
impl Eq for AdmissionRequirement
Source§impl Ord for AdmissionRequirement
impl Ord for AdmissionRequirement
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 AdmissionRequirement
impl PartialEq for AdmissionRequirement
Source§impl PartialOrd for AdmissionRequirement
impl PartialOrd for AdmissionRequirement
Source§impl Serialize for AdmissionRequirement
impl Serialize for AdmissionRequirement
impl StructuralPartialEq for AdmissionRequirement
Auto Trait Implementations§
impl Freeze for AdmissionRequirement
impl RefUnwindSafe for AdmissionRequirement
impl Send for AdmissionRequirement
impl Sync for AdmissionRequirement
impl Unpin for AdmissionRequirement
impl UnsafeUnpin for AdmissionRequirement
impl UnwindSafe for AdmissionRequirement
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