pub struct CommandEffects {
pub result: CommandResult,
pub lifecycle_events: Vec<LifecycleEvent>,
pub kv_events: Vec<KvEvent>,
pub retired_requests: Vec<Uuid>,
pub metrics: Metrics,
pub suppressed_pending_output: bool,
}Expand description
Effects of a scheduler command.
Fields§
§result: CommandResult§lifecycle_events: Vec<LifecycleEvent>§kv_events: Vec<KvEvent>§retired_requests: Vec<Uuid>Requests whose scheduler/KV ownership ended while applying this command.
Replayers use this authoritative delta for cancellation and handoff cleanup instead of inferring ownership from command ordering.
metrics: MetricsScheduler state after the command and all immediately admitted work.
Live drivers use this to acknowledge commands while the engine is idle without waiting for an otherwise unrelated forward pass.
suppressed_pending_output: boolWhether an output already computed by an in-flight pass was suppressed.
Trait Implementations§
Source§impl Clone for CommandEffects
impl Clone for CommandEffects
Source§fn clone(&self) -> CommandEffects
fn clone(&self) -> CommandEffects
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 moreSource§impl Debug for CommandEffects
impl Debug for CommandEffects
Source§impl PartialEq for CommandEffects
impl PartialEq for CommandEffects
impl StructuralPartialEq for CommandEffects
Auto Trait Implementations§
impl Freeze for CommandEffects
impl RefUnwindSafe for CommandEffects
impl Send for CommandEffects
impl Sync for CommandEffects
impl Unpin for CommandEffects
impl UnsafeUnpin for CommandEffects
impl UnwindSafe for CommandEffects
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