Struct stateright::actor::model::ActorSystem[][src]

pub struct ActorSystem<A: Actor<ModelId>> {
    pub init_network: Vec<Envelope<A::Msg>>,
    pub actors: Vec<A>,
    pub lossy_network: LossyNetwork,
}

A collection of actors on a lossy network.

Fields

Trait Implementations

impl<A: Actor<ModelId>> StateMachine for ActorSystem<A> where
    A::Msg: Clone + Ord,
    A::State: Clone
[src]

The type of state upon which this machine operates.

Collects the initial possible action-state pairs.

Collects the subsequent possible action-state pairs based on a previous state.

Initializes a fresh checker for a state machine.

Auto Trait Implementations

impl<A> Send for ActorSystem<A> where
    A: Send,
    <A as Actor<usize>>::Msg: Send

impl<A> Sync for ActorSystem<A> where
    A: Sync,
    <A as Actor<usize>>::Msg: Sync