[][src]Enum stateright::actor::register::RegisterCfg

pub enum RegisterCfg<Id, Value, ServerCfg> {
    Client {
        server_ids: Vec<Id>,
        desired_value: Value,
    },
    Server(ServerCfg),
}

A wrapper configuration for model-checking a register-like actor.

Variants

Client

Fields of Client

server_ids: Vec<Id>desired_value: Value
Server(ServerCfg)

Trait Implementations

impl<Id, Value, ServerCfg, ServerMsg: Serialize + DeserializeOwned> Actor<Id> for RegisterCfg<Id, Value, ServerCfg> where
    Id: Copy + Ord,
    Value: Clone,
    ServerCfg: Actor<Id, Msg = RegisterMsg<Value, ServerMsg>>, 
[src]

type Msg = ServerCfg::Msg

The type of messages sent and received by this actor.

type State = RegisterState<ServerCfg::State>

The type of state maintained by this actor.

impl<Id: Clone, Value: Clone, ServerCfg: Clone> Clone for RegisterCfg<Id, Value, ServerCfg>[src]

Auto Trait Implementations

impl<Id, Value, ServerCfg> RefUnwindSafe for RegisterCfg<Id, Value, ServerCfg> where
    Id: RefUnwindSafe,
    ServerCfg: RefUnwindSafe,
    Value: RefUnwindSafe

impl<Id, Value, ServerCfg> Send for RegisterCfg<Id, Value, ServerCfg> where
    Id: Send,
    ServerCfg: Send,
    Value: Send

impl<Id, Value, ServerCfg> Sync for RegisterCfg<Id, Value, ServerCfg> where
    Id: Sync,
    ServerCfg: Sync,
    Value: Sync

impl<Id, Value, ServerCfg> Unpin for RegisterCfg<Id, Value, ServerCfg> where
    Id: Unpin,
    ServerCfg: Unpin,
    Value: Unpin

impl<Id, Value, ServerCfg> UnwindSafe for RegisterCfg<Id, Value, ServerCfg> where
    Id: UnwindSafe,
    ServerCfg: UnwindSafe,
    Value: UnwindSafe

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<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>,