pub(crate) struct Actor1<ActorSystemT, Actor1RefT, Actor2RefT>where
ActorSystemT: ActorSystemHandle + 'static,
Actor1RefT: ActorRef<Ping> + Clone + 'static,
Actor2RefT: ActorRef<Actor1ToActor2<Actor1RefT>> + Clone,{
pub(crate) self_ref: Actor1RefT,
pub(crate) node_id: String,
pub(crate) actor_system: ActorSystemT,
pub(crate) actor2_ref: Actor2RefT,
pub(crate) ping_count: u8,
pub(crate) spawn_count: u8,
}Fields§
§self_ref: Actor1RefT§node_id: String§actor_system: ActorSystemT§actor2_ref: Actor2RefT§ping_count: u8§spawn_count: u8Implementations§
Trait Implementations§
Source§impl<ActorSystemT, Actor1RefT, Actor2RefT> Debug for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>where
ActorSystemT: ActorSystemHandle + 'static + Debug,
Actor1RefT: ActorRef<Ping> + Clone + 'static + Debug,
Actor2RefT: ActorRef<Actor1ToActor2<Actor1RefT>> + Clone + Debug,
impl<ActorSystemT, Actor1RefT, Actor2RefT> Debug for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>where
ActorSystemT: ActorSystemHandle + 'static + Debug,
Actor1RefT: ActorRef<Ping> + Clone + 'static + Debug,
Actor2RefT: ActorRef<Actor1ToActor2<Actor1RefT>> + Clone + Debug,
Source§impl<ActorSystemT, Actor1RefT, Actor2RefT> TypedMsgHandler<Ping> for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>where
ActorSystemT: ActorSystemHandle + Debug + Clone + Send + 'static,
Actor1RefT: ActorRef<Ping> + Clone + 'static,
Actor2RefT: ActorRef<Actor1ToActor2<Actor1RefT>> + Clone + 'static,
impl<ActorSystemT, Actor1RefT, Actor2RefT> TypedMsgHandler<Ping> for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>where
ActorSystemT: ActorSystemHandle + Debug + Clone + Send + 'static,
Actor1RefT: ActorRef<Ping> + Clone + 'static,
Actor2RefT: ActorRef<Actor1ToActor2<Actor1RefT>> + Clone + 'static,
Auto Trait Implementations§
impl<ActorSystemT, Actor1RefT, Actor2RefT> Freeze for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
impl<ActorSystemT, Actor1RefT, Actor2RefT> RefUnwindSafe for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
impl<ActorSystemT, Actor1RefT, Actor2RefT> Send for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
impl<ActorSystemT, Actor1RefT, Actor2RefT> Sync for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
impl<ActorSystemT, Actor1RefT, Actor2RefT> Unpin for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
impl<ActorSystemT, Actor1RefT, Actor2RefT> UnwindSafe for Actor1<ActorSystemT, Actor1RefT, Actor2RefT>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more