pub struct DeadLetterInfo {
pub target_id: ActorId,
pub target_name: Option<String>,
pub message_type: String,
pub send_mode: SendMode,
pub reason: DeadLetterReason,
}Expand description
Simplified dead letter info for test assertions (without the type-erased message).
Fields§
§target_id: ActorIdThe intended target actor.
target_name: Option<String>The target actor’s name (if known).
message_type: StringThe Rust type name of the message.
send_mode: SendModeHow the message was sent.
reason: DeadLetterReasonWhy the message could not be delivered.
Trait Implementations§
Source§impl Clone for DeadLetterInfo
impl Clone for DeadLetterInfo
Source§fn clone(&self) -> DeadLetterInfo
fn clone(&self) -> DeadLetterInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeadLetterInfo
impl RefUnwindSafe for DeadLetterInfo
impl Send for DeadLetterInfo
impl Sync for DeadLetterInfo
impl Unpin for DeadLetterInfo
impl UnsafeUnpin for DeadLetterInfo
impl UnwindSafe for DeadLetterInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more