Struct coerce::actor::BoxedActorRef
source · pub struct BoxedActorRef(_);Implementations§
source§impl BoxedActorRef
impl BoxedActorRef
pub fn as_actor<A: Actor>(&self) -> Option<LocalActorRef<A>>
Trait Implementations§
source§impl Clone for BoxedActorRef
impl Clone for BoxedActorRef
source§fn clone(&self) -> BoxedActorRef
fn clone(&self) -> BoxedActorRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl CoreActorRef for BoxedActorRef
impl CoreActorRef for BoxedActorRef
fn actor_id(&self) -> &ActorId
fn actor_type(&self) -> &'static str
fn status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ActorStatus, ActorRefErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn stop<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), ActorRefErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn describe(&self, describe: Describe) -> Result<(), ActorRefErr>
fn notify_stop(&self) -> Result<(), ActorRefErr>
fn notify_child_terminated(&self, id: ActorId) -> Result<(), ActorRefErr>
fn is_valid(&self) -> bool
fn as_any(&self) -> &dyn Any
source§impl Debug for BoxedActorRef
impl Debug for BoxedActorRef
source§impl Display for BoxedActorRef
impl Display for BoxedActorRef
source§impl<A: Actor> From<LocalActorRef<A>> for BoxedActorRef
impl<A: Actor> From<LocalActorRef<A>> for BoxedActorRef
source§fn from(r: LocalActorRef<A>) -> Self
fn from(r: LocalActorRef<A>) -> Self
Converts to this type from the input type.