pub struct ProofInputs {
pub recommendation: AdmitRecommendation,
pub any_admissible: bool,
pub command_safe_for_proof: bool,
pub placement_honored: bool,
}Expand description
Observable inputs for the proof-mode decision. Plain data so the policy is pure and unit-testable.
Fields§
§recommendation: AdmitRecommendationThe preflight recommendation for the command.
any_admissible: boolAt least one worker was admissible for the command.
command_safe_for_proof: boolThe command shape is safe to prove remotely.
placement_honored: boolThe requested placement profile can be honored.
Implementations§
Source§impl ProofInputs
impl ProofInputs
Trait Implementations§
Source§impl Clone for ProofInputs
impl Clone for ProofInputs
impl Copy for ProofInputs
Source§impl Debug for ProofInputs
impl Debug for ProofInputs
impl Eq for ProofInputs
Source§impl PartialEq for ProofInputs
impl PartialEq for ProofInputs
impl StructuralPartialEq for ProofInputs
Auto Trait Implementations§
impl Freeze for ProofInputs
impl RefUnwindSafe for ProofInputs
impl Send for ProofInputs
impl Sync for ProofInputs
impl Unpin for ProofInputs
impl UnsafeUnpin for ProofInputs
impl UnwindSafe for ProofInputs
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,
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.