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

pub enum RegisterActor<ServerActor> {
    Client {
        server_count: u64,
    },
    Server(ServerActor),
}

Variants

Client

A client that RegisterMsg::Puts a message and upon receving a corresponding RegisterMsg::PutOk follows up with a RegisterMsg::Get.

Fields of Client

server_count: u64
Server(ServerActor)

A server actor being validated.

Trait Implementations

impl<ServerActor, InternalMsg> Actor for RegisterActor<ServerActor> where
    ServerActor: Actor<Msg = RegisterMsg<TestRequestId, TestValue, InternalMsg>>,
    InternalMsg: Clone + Debug + Eq + Hash
[src]

type Msg = RegisterMsg<TestRequestId, TestValue, InternalMsg>

The type of messages sent and received by the actor. Read more

type State = RegisterActorState<ServerActor::State>

The type of state maintained by the actor. Read more

impl<ServerActor: Clone> Clone for RegisterActor<ServerActor>[src]

impl<ServerActor: Debug> Debug for RegisterActor<ServerActor>[src]

impl<ServerActor: Eq> Eq for RegisterActor<ServerActor>[src]

impl<ServerActor: PartialEq> PartialEq<RegisterActor<ServerActor>> for RegisterActor<ServerActor>[src]

impl<ServerActor> StructuralEq for RegisterActor<ServerActor>[src]

impl<ServerActor> StructuralPartialEq for RegisterActor<ServerActor>[src]

Auto Trait Implementations

impl<ServerActor> RefUnwindSafe for RegisterActor<ServerActor> where
    ServerActor: RefUnwindSafe

impl<ServerActor> Send for RegisterActor<ServerActor> where
    ServerActor: Send

impl<ServerActor> Sync for RegisterActor<ServerActor> where
    ServerActor: Sync

impl<ServerActor> Unpin for RegisterActor<ServerActor> where
    ServerActor: Unpin

impl<ServerActor> UnwindSafe for RegisterActor<ServerActor> where
    ServerActor: 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>,