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 strThe name of the intended recipient.
priority: PriorityThe priority assigned to the message that could not be sent.
reason: SendErrorReasonThe reason why sending has failed.
Trait Implementations
sourceimpl Error for SendError
impl Error for SendError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl Copy for SendError
Auto Trait Implementations
impl RefUnwindSafe for SendError
impl Send for SendError
impl Sync for SendError
impl Unpin for SendError
impl UnwindSafe for SendError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more