pub enum AttestedStatus {
Ready,
NotReady,
ProviderUnknown,
}Expand description
What the provider signed: its own evaluation of the predicate.
ProviderUnknown is emitted only when the provider cannot
evaluate (unsupported predicate, transient failure, invalid
constraints) — consumer-side Unknown is derived via projection,
never attested.
Serde exists for the SI-1 wire codec
(super::wire::ReadinessAttestation, postcard); the signature
transcript never hashes a serde encoding — it uses the
fixed-width canonical tag in super::wire.
Variants§
Ready
Predicate holds; work can start within the envelope.
NotReady
Predicate evaluated false.
ProviderUnknown
The provider could not evaluate the predicate.
Trait Implementations§
Source§impl Clone for AttestedStatus
impl Clone for AttestedStatus
Source§fn clone(&self) -> AttestedStatus
fn clone(&self) -> AttestedStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttestedStatus
Source§impl Debug for AttestedStatus
impl Debug for AttestedStatus
Source§impl<'de> Deserialize<'de> for AttestedStatus
impl<'de> Deserialize<'de> for AttestedStatus
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 AttestedStatus
Source§impl PartialEq for AttestedStatus
impl PartialEq for AttestedStatus
Source§impl Serialize for AttestedStatus
impl Serialize for AttestedStatus
impl StructuralPartialEq for AttestedStatus
Auto Trait Implementations§
impl Freeze for AttestedStatus
impl RefUnwindSafe for AttestedStatus
impl Send for AttestedStatus
impl Sync for AttestedStatus
impl Unpin for AttestedStatus
impl UnsafeUnpin for AttestedStatus
impl UnwindSafe for AttestedStatus
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,
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
Compare self to
key and return true if they are equal.