Trait ActorSystemHandle

Source
pub trait ActorSystemHandle: DynClone + Send {
    // Required method
    fn create(
        &self,
        node_id: String,
        name: String,
        join_on_drop: bool,
    ) -> DynActorRef<AnActorMsg>;
}

Required Methods§

Source

fn create( &self, node_id: String, name: String, join_on_drop: bool, ) -> DynActorRef<AnActorMsg>

Trait Implementations§

Source§

impl ActorSystemHandle for dyn ActorSystemHandle

Source§

type ActorRefT<MsgT> = DynActorRefWrapped<MsgT> where MsgT: ActorMsg

Source§

fn create<MsgT>( &self, node_id: impl Into<String>, name: impl Into<String>, join_on_drop: bool, ) -> Self::ActorRefT<MsgT>
where MsgT: ActorMsg,

Implementors§

Source§

impl<ActorSystemHandleT> ActorSystemHandle for ActorSystemHandleT
where ActorSystemHandleT: ActorSystemHandle + ?Sized + 'static,