pub struct EProcessDecision {
pub snapshot: EProcessSnapshot,
pub priority: u8,
pub should_shed: bool,
}Expand description
Decision artifact captured when a checkpoint consults the oracle.
Fields§
§snapshot: EProcessSnapshotSnapshot used to make the decision.
priority: u8Priority level of the checked context.
should_shed: boolWhether the oracle recommends shedding the checked context.
Trait Implementations§
Source§impl Clone for EProcessDecision
impl Clone for EProcessDecision
Source§fn clone(&self) -> EProcessDecision
fn clone(&self) -> EProcessDecision
Returns a duplicate of the value. Read more
1.0.0 · 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 EProcessDecision
impl Debug for EProcessDecision
Source§impl PartialEq for EProcessDecision
impl PartialEq for EProcessDecision
impl StructuralPartialEq for EProcessDecision
Auto Trait Implementations§
impl Freeze for EProcessDecision
impl RefUnwindSafe for EProcessDecision
impl Send for EProcessDecision
impl Sync for EProcessDecision
impl Unpin for EProcessDecision
impl UnsafeUnpin for EProcessDecision
impl UnwindSafe for EProcessDecision
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).