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

pub enum RegisterActorState<ServerState> {
    Client {
        awaiting: Option<TestRequestId>,
        op_count: u64,
    },
    Server(ServerState),
}

Variants

Client

A client that sends a sequence of RegisterMsg::Put messages before sending a RegisterMsg::Get.

Fields of Client

awaiting: Option<TestRequestId>op_count: u64
Server(ServerState)

Wraps the state of a server actor.

Trait Implementations

impl<ServerState: Clone> Clone for RegisterActorState<ServerState>[src]

impl<ServerState: Debug> Debug for RegisterActorState<ServerState>[src]

impl<ServerState: Eq> Eq for RegisterActorState<ServerState>[src]

impl<ServerState: Hash> Hash for RegisterActorState<ServerState>[src]

impl<ServerState: PartialEq> PartialEq<RegisterActorState<ServerState>> for RegisterActorState<ServerState>[src]

impl<ServerState> Serialize for RegisterActorState<ServerState> where
    ServerState: Serialize
[src]

impl<ServerState> StructuralEq for RegisterActorState<ServerState>[src]

impl<ServerState> StructuralPartialEq for RegisterActorState<ServerState>[src]

Auto Trait Implementations

impl<ServerState> RefUnwindSafe for RegisterActorState<ServerState> where
    ServerState: RefUnwindSafe

impl<ServerState> Send for RegisterActorState<ServerState> where
    ServerState: Send

impl<ServerState> Sync for RegisterActorState<ServerState> where
    ServerState: Sync

impl<ServerState> Unpin for RegisterActorState<ServerState> where
    ServerState: Unpin

impl<ServerState> UnwindSafe for RegisterActorState<ServerState> where
    ServerState: 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<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>,