Skip to main content

Recipient

Type Alias Recipient 

Source
pub type Recipient<M> = Arc<dyn Receiver<M>>;
Expand description

Type-erased reference for sending a single message type.

Obtained via actor_ref.recipient::<M>() or ctx.recipient::<M>().

Aliased Typeยง

pub struct Recipient<M> { /* private fields */ }