[−][src]Enum stateright::actor::register::RegisterActor
Variants
A client that RegisterMsg::Put
s a message and upon receving a
corresponding RegisterMsg::PutOk
follows up with a
RegisterMsg::Get
.
Fields of Client
server_count: u64
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]
ServerActor: Actor<Msg = RegisterMsg<TestRequestId, TestValue, InternalMsg>>,
InternalMsg: Clone + Debug + Eq + Hash,
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
pub fn on_start(&self, id: Id, o: &mut Out<Self>) -> Self::State
[src]
pub fn on_msg(
&self,
id: Id,
state: &mut Cow<'_, Self::State>,
src: Id,
msg: Self::Msg,
o: &mut Out<Self>
)
[src]
&self,
id: Id,
state: &mut Cow<'_, Self::State>,
src: Id,
msg: Self::Msg,
o: &mut Out<Self>
)
pub fn on_timeout(
&self,
_id: Id,
_state: &mut Cow<'_, Self::State>,
_o: &mut Out<Self>
)
[src]
&self,
_id: Id,
_state: &mut Cow<'_, Self::State>,
_o: &mut Out<Self>
)
impl<ServerActor: Clone> Clone for RegisterActor<ServerActor>
[src]
pub fn clone(&self) -> RegisterActor<ServerActor>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
pub fn eq(&self, other: &RegisterActor<ServerActor>) -> bool
[src]
pub fn ne(&self, other: &RegisterActor<ServerActor>) -> bool
[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,
[src]
ServerActor: RefUnwindSafe,
impl<ServerActor> Send for RegisterActor<ServerActor> where
ServerActor: Send,
[src]
ServerActor: Send,
impl<ServerActor> Sync for RegisterActor<ServerActor> where
ServerActor: Sync,
[src]
ServerActor: Sync,
impl<ServerActor> Unpin for RegisterActor<ServerActor> where
ServerActor: Unpin,
[src]
ServerActor: Unpin,
impl<ServerActor> UnwindSafe for RegisterActor<ServerActor> where
ServerActor: UnwindSafe,
[src]
ServerActor: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,