Struct actix::Recipient [−][src]
Expand description
The Recipient
type allows to send one specific message to an
actor.
You can get a recipient using the Addr::recipient()
method. It
is possible to use the Clone::clone()
method to get a cloned
recipient.
Implementations
Sends a message.
Deliver the message even if the recipient’s mailbox is full.
Attempts to send a message.
This method fails if the actor’s mailbox is full or closed. This method registers the current task in the receivers queue.
Sends a message and asynchronously wait for a response.
The communication channel to the actor is bounded. If the
returned Request
object gets dropped, the message is
cancelled.
Trait Implementations
Auto Trait Implementations
impl<M> !RefUnwindSafe for Recipient<M>
impl<M> !UnwindSafe for Recipient<M>
Blanket Implementations
Mutably borrows from an owned value. Read more