pub fn cast<TMessage>(
actor: &ActorCell,
msg: TMessage
) -> Result<(), MessagingErr<TMessage>>where
TMessage: Message,
Expand description
Sends an asynchronous request to the specified actor, ignoring if the actor is alive or healthy and simply returns immediately
actor
- A reference to the ActorCell to communicate withmsg
- The message to send to the actor
Returns [Ok(())] upon successful send, [Err(MessagingErr)] otherwise