Struct tonari_actor::SendError
source · pub struct SendError {
pub recipient_name: &'static str,
pub priority: Priority,
pub reason: SendErrorReason,
}
Expand description
Failures that can occur when sending a message to an actor.
Fields§
§recipient_name: &'static str
The name of the intended recipient.
priority: Priority
The priority assigned to the message that could not be sent.
reason: SendErrorReason
The reason why sending has failed.
Trait Implementations§
source§impl Error for SendError
impl Error for SendError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()