pub struct MixedWorkProtocolEvidence {Show 13 fields
pub schema_version: u32,
pub unit_count: u32,
pub scan_units: u32,
pub graph_units: u32,
pub parser_units: u32,
pub flow_units: u32,
pub control_units: u32,
pub total_watchdog_budget_ticks: u64,
pub max_watchdog_budget_ticks: u32,
pub drain_watchdog_budget_ticks: u64,
pub bounded_drain: bool,
pub hidden_host_loop_count: u32,
pub deterministic_output_digest: u64,
}Expand description
Evidence emitted after validating a mixed-work protocol plan.
Fields§
§schema_version: u32Evidence schema version.
unit_count: u32Total work units.
scan_units: u32Scan queue units.
graph_units: u32Graph queue units.
parser_units: u32Parser queue units.
flow_units: u32Flow queue units.
control_units: u32Runtime control queue units.
total_watchdog_budget_ticks: u64Sum of per-unit watchdog budgets.
max_watchdog_budget_ticks: u32Largest per-unit watchdog budget.
drain_watchdog_budget_ticks: u64Drain budget supplied for the full resident batch.
bounded_drain: boolTrue when the sum of per-unit watchdog budgets is bounded by the drain budget.
Hidden host-loop count. Valid mixed-work plans keep this at zero.
deterministic_output_digest: u64Deterministic digest of queue class, unit type, ids, budgets, and payload digests.
Implementations§
Source§impl MixedWorkProtocolEvidence
impl MixedWorkProtocolEvidence
Sourcepub const fn covers_scan_graph_parser_flow(self) -> bool
pub const fn covers_scan_graph_parser_flow(self) -> bool
Return true when scan, graph, parser, and flow classes are all present.
Sourcepub const fn is_complete(self) -> bool
pub const fn is_complete(self) -> bool
Return true when evidence is complete enough for release benches.
Trait Implementations§
Source§impl Clone for MixedWorkProtocolEvidence
impl Clone for MixedWorkProtocolEvidence
Source§fn clone(&self) -> MixedWorkProtocolEvidence
fn clone(&self) -> MixedWorkProtocolEvidence
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 MixedWorkProtocolEvidence
Source§impl Debug for MixedWorkProtocolEvidence
impl Debug for MixedWorkProtocolEvidence
impl Eq for MixedWorkProtocolEvidence
Source§impl PartialEq for MixedWorkProtocolEvidence
impl PartialEq for MixedWorkProtocolEvidence
Source§fn eq(&self, other: &MixedWorkProtocolEvidence) -> bool
fn eq(&self, other: &MixedWorkProtocolEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MixedWorkProtocolEvidence
Auto Trait Implementations§
impl Freeze for MixedWorkProtocolEvidence
impl RefUnwindSafe for MixedWorkProtocolEvidence
impl Send for MixedWorkProtocolEvidence
impl Sync for MixedWorkProtocolEvidence
impl Unpin for MixedWorkProtocolEvidence
impl UnsafeUnpin for MixedWorkProtocolEvidence
impl UnwindSafe for MixedWorkProtocolEvidence
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§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.