Module state

Source
Expand description

this module provides a set of states for state-related workloads (State & NState) this module implements a generic State wrapper and provides several traits to support state management and other stateful workloads.

Modules§

nstate
this module implements an alternative stateful representation that enables one to provide a data type as well as specify the state kind
traits
this module implements various traits supporting the State type
types
additional types for the state module
wrapper

Structs§

Nary
State
State is generic over some type Q that implements the RawState trait.
StateBase
StateBase is an abstract object that allows a particular kind of state to be associated with some generic state Q

Enums§

State1
State2
State3
State4
State5
State6
State7
State8
State9
State10

Traits§

NStateKind
a particular kind of state that is defined by some rank
RawState
RawState is a trait that defines the types of states
RawStateKind
a private, base represenation of a state kind
StateKind
note: this trait is auto implemented for types that implement AsRef<str>.
StateRepr
The StateRepr trait defines the base type for stateful items, allowing for a generic item type to be associated with the state.
Stateful
Stateful is a trait establishing a common interface for all types that are state-aware.

Type Aliases§

BinaryState
DenaryState
NState
A type alias for a StateBase equipped with a Nary kind of state
NonaryState
OctonaryState
QuaternaryState
QuinaryState
SenaryState
SeptenaryState
TernaryState
UnaryState