[−][src]Enum stateright::actor::register::RegisterCfg
A wrapper configuration for model-checking a register-like actor.
Variants
Fields of Client
server_ids: Vec<Id>
desired_value: Value
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]
Id: Copy + Ord,
Value: Clone,
ServerCfg: Actor<Id, Msg = RegisterMsg<Value, ServerMsg>>,
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.
fn start(&self) -> ActorResult<Id, Self::Msg, Self::State>
[src]
fn advance(
&self,
state: &Self::State,
input: &ActorInput<Id, Self::Msg>
) -> Option<ActorResult<Id, Self::Msg, Self::State>>
[src]
&self,
state: &Self::State,
input: &ActorInput<Id, Self::Msg>
) -> Option<ActorResult<Id, Self::Msg, Self::State>>
fn deserialize(&self, bytes: &[u8]) -> Result<Self::Msg> where
Self::Msg: DeserializeOwned,
[src]
Self::Msg: DeserializeOwned,
fn serialize(&self, msg: &Self::Msg) -> Result<Vec<u8>> where
Self::Msg: Serialize,
[src]
Self::Msg: Serialize,
impl<Id: Clone, Value: Clone, ServerCfg: Clone> Clone for RegisterCfg<Id, Value, ServerCfg>
[src]
fn clone(&self) -> RegisterCfg<Id, Value, ServerCfg>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<Id, Value, ServerCfg> RefUnwindSafe for RegisterCfg<Id, Value, ServerCfg> where
Id: RefUnwindSafe,
ServerCfg: RefUnwindSafe,
Value: RefUnwindSafe,
Id: RefUnwindSafe,
ServerCfg: RefUnwindSafe,
Value: RefUnwindSafe,
impl<Id, Value, ServerCfg> Send for RegisterCfg<Id, Value, ServerCfg> where
Id: Send,
ServerCfg: Send,
Value: Send,
Id: Send,
ServerCfg: Send,
Value: Send,
impl<Id, Value, ServerCfg> Sync for RegisterCfg<Id, Value, ServerCfg> where
Id: Sync,
ServerCfg: Sync,
Value: Sync,
Id: Sync,
ServerCfg: Sync,
Value: Sync,
impl<Id, Value, ServerCfg> Unpin for RegisterCfg<Id, Value, ServerCfg> where
Id: Unpin,
ServerCfg: Unpin,
Value: Unpin,
Id: Unpin,
ServerCfg: Unpin,
Value: Unpin,
impl<Id, Value, ServerCfg> UnwindSafe for RegisterCfg<Id, Value, ServerCfg> where
Id: UnwindSafe,
ServerCfg: UnwindSafe,
Value: UnwindSafe,
Id: UnwindSafe,
ServerCfg: UnwindSafe,
Value: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,