pub enum FloorVerificationStatus {
NotDeclared,
ToolchainBound,
Verified,
Unverified(FloorUnverifiedReason),
NotSatisfied,
}Expand description
The verification status of a declared compatibility floor.
This is the single producer-side floor status model. It is finite and
closed: it is neither a free-form string nor an Option<bool>, and every
variant maps to one concrete observation about the produced bytes or about
the toolchain that produced them.
| Status | Concrete observation |
|---|---|
NotDeclared | the target declares CompatibilityFloor::None |
ToolchainBound | the floor was bound into the build toolchain by the cargo-zigbuild triple rewrite, and the toolchain is trusted to honour it |
Verified | the produced bytes were independently inspected and their highest required GLIBC_x.y version is not newer than the declared floor |
Unverified(reason) | a floor was declared and the produced bytes did not confirm it, for the bounded reason given |
NotSatisfied | the produced bytes were independently inspected and require a newer runtime than the declared floor |
Variants§
NotDeclared
The target declares CompatibilityFloor::None.
ToolchainBound
The floor was bound into the build toolchain and the toolchain is trusted to honour it.
Verified
The produced bytes were independently inspected and satisfy the declared floor.
Unverified(FloorUnverifiedReason)
A floor was declared but could not be independently verified.
NotSatisfied
The produced bytes contradict the declared floor: they require a newer runtime than the floor declares.
This is never reported as Unverified: a declared floor that the bytes
disprove is false, so it fails the qualification for that target.
Trait Implementations§
Source§impl Clone for FloorVerificationStatus
impl Clone for FloorVerificationStatus
impl Copy for FloorVerificationStatus
Source§impl Debug for FloorVerificationStatus
impl Debug for FloorVerificationStatus
Source§impl Default for FloorVerificationStatus
impl Default for FloorVerificationStatus
Source§impl<'de> Deserialize<'de> for FloorVerificationStatus
impl<'de> Deserialize<'de> for FloorVerificationStatus
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>,
impl Eq for FloorVerificationStatus
Source§impl PartialEq for FloorVerificationStatus
impl PartialEq for FloorVerificationStatus
Source§impl Serialize for FloorVerificationStatus
impl Serialize for FloorVerificationStatus
impl StructuralPartialEq for FloorVerificationStatus
Auto Trait Implementations§
impl Forget for FloorVerificationStatus
impl Freeze for FloorVerificationStatus
impl Move for FloorVerificationStatus
impl RefUnwindSafe for FloorVerificationStatus
impl Send for FloorVerificationStatus
impl Sync for FloorVerificationStatus
impl Unpin for FloorVerificationStatus
impl UnsafeUnpin for FloorVerificationStatus
impl UnwindSafe for FloorVerificationStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.