pub struct DecisionSessionSummary { /* private fields */ }Expand description
Lightweight audit summary captured around one outcome commit.
This is not a complete persistence or replay snapshot of a decision
session. The owning DecisionSession remains the source of that state.
Implementations§
Source§impl DecisionSessionSummary
impl DecisionSessionSummary
Sourcepub fn state(&self) -> &DecisionLoopState
pub fn state(&self) -> &DecisionLoopState
Returns the state at this commit boundary.
Sourcepub fn action_cycles(&self) -> u32
pub fn action_cycles(&self) -> u32
Returns the number of issued action executions at this boundary.
Sourcepub fn adaptation_transitions(&self) -> u32
pub fn adaptation_transitions(&self) -> u32
Returns the number of recorded adaptive directives at this boundary.
Trait Implementations§
Source§impl Clone for DecisionSessionSummary
impl Clone for DecisionSessionSummary
Source§fn clone(&self) -> DecisionSessionSummary
fn clone(&self) -> DecisionSessionSummary
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 DecisionSessionSummary
impl Debug for DecisionSessionSummary
impl Eq for DecisionSessionSummary
Source§impl PartialEq for DecisionSessionSummary
impl PartialEq for DecisionSessionSummary
Source§impl Serialize for DecisionSessionSummary
impl Serialize for DecisionSessionSummary
impl StructuralPartialEq for DecisionSessionSummary
Auto Trait Implementations§
impl Freeze for DecisionSessionSummary
impl RefUnwindSafe for DecisionSessionSummary
impl Send for DecisionSessionSummary
impl Sync for DecisionSessionSummary
impl Unpin for DecisionSessionSummary
impl UnsafeUnpin for DecisionSessionSummary
impl UnwindSafe for DecisionSessionSummary
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more