pub struct DecisionSession { /* private fields */ }Expand description
Target-scoped counters and adaptive ledger for deterministic replay.
Implementations§
Source§impl DecisionSession
impl DecisionSession
Sourcepub fn action_cycles(&self) -> u32
pub fn action_cycles(&self) -> u32
Returns the number of action executions issued so far.
Sourcepub fn state(&self) -> &DecisionLoopState
pub fn state(&self) -> &DecisionLoopState
Returns the current state.
Sourcepub fn adaptation(&self) -> &AdaptationLedger
pub fn adaptation(&self) -> &AdaptationLedger
Returns the adaptive transition ledger.
Sourcepub fn transition_summary(&self) -> DecisionSessionSummary
pub fn transition_summary(&self) -> DecisionSessionSummary
Captures a lightweight state summary at one outcome boundary.
This intentionally omits the subject and full adaptation ledger. It is an audit summary for comparing one transition, not a persistence or replay snapshot.
Trait Implementations§
Source§impl Clone for DecisionSession
impl Clone for DecisionSession
Source§fn clone(&self) -> DecisionSession
fn clone(&self) -> DecisionSession
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 DecisionSession
impl Debug for DecisionSession
Source§impl<'de> Deserialize<'de> for DecisionSession
impl<'de> Deserialize<'de> for DecisionSession
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecisionSession
Source§impl PartialEq for DecisionSession
impl PartialEq for DecisionSession
Source§impl Serialize for DecisionSession
impl Serialize for DecisionSession
impl StructuralPartialEq for DecisionSession
Auto Trait Implementations§
impl Freeze for DecisionSession
impl RefUnwindSafe for DecisionSession
impl Send for DecisionSession
impl Sync for DecisionSession
impl Unpin for DecisionSession
impl UnsafeUnpin for DecisionSession
impl UnwindSafe for DecisionSession
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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