[][src]Struct stateright::actor::SystemState

pub struct SystemState<S: System> {
    pub actor_states: Vec<Arc<<S::Actor as Actor>::State>>,
    pub network: Network<<S::Actor as Actor>::Msg>,
    pub is_timer_set: Vec<bool>,
    pub history: S::History,
}

Represents a snapshot in time for the entire actor system.

Fields

actor_states: Vec<Arc<<S::Actor as Actor>::State>>network: Network<<S::Actor as Actor>::Msg>is_timer_set: Vec<bool>history: S::History

Trait Implementations

impl<S: System> Clone for SystemState<S>[src]

impl<S: System> Debug for SystemState<S>[src]

impl<S: System> Eq for SystemState<S> where
    <S::Actor as Actor>::State: Eq,
    S::History: Eq
[src]

impl<S: System> Hash for SystemState<S>[src]

impl<S: System> PartialEq<SystemState<S>> for SystemState<S> where
    <S::Actor as Actor>::State: PartialEq,
    S::History: PartialEq
[src]

impl<S> Serialize for SystemState<S> where
    S: System,
    <S::Actor as Actor>::State: Serialize,
    <S::Actor as Actor>::Msg: Serialize,
    S::History: Serialize
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SystemState<S> where
    <S as System>::History: RefUnwindSafe,
    <<S as System>::Actor as Actor>::Msg: RefUnwindSafe,
    <<S as System>::Actor as Actor>::State: RefUnwindSafe
[src]

impl<S> Send for SystemState<S> where
    <S as System>::History: Send,
    <<S as System>::Actor as Actor>::Msg: Send,
    <<S as System>::Actor as Actor>::State: Send + Sync
[src]

impl<S> Sync for SystemState<S> where
    <S as System>::History: Sync,
    <<S as System>::Actor as Actor>::Msg: Sync,
    <<S as System>::Actor as Actor>::State: Send + Sync
[src]

impl<S> Unpin for SystemState<S> where
    <S as System>::History: Unpin,
    <<S as System>::Actor as Actor>::Msg: Unpin
[src]

impl<S> UnwindSafe for SystemState<S> where
    <S as System>::History: UnwindSafe,
    <<S as System>::Actor as Actor>::Msg: UnwindSafe,
    <<S as System>::Actor as Actor>::State: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,