pub enum StateNode {
Counter(u32),
Terminal,
Wrapper(StateNodeIndex),
CountBox(CountBoxState),
AndThen(AndThenState),
Pair(PairState),
}Variants§
Counter(u32)
Counter-based state (e.g. periodic, exponential, fibonacci).
Terminal
Terminal state — policy has given up.
Wrapper(StateNodeIndex)
Wrapper state delegating to an inner policy state.
CountBox(CountBoxState)
Count-box state with attempt tracking.
AndThen(AndThenState)
And-then sequential composition state.
Pair(PairState)
Pair state for union/intersect composition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateNode
impl RefUnwindSafe for StateNode
impl Send for StateNode
impl Sync for StateNode
impl Unpin for StateNode
impl UnsafeUnpin for StateNode
impl UnwindSafe for StateNode
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