pub struct IpcDeadLetterEvent {
pub message_id: String,
pub from_pid: u64,
pub target: String,
pub payload_type: String,
pub reason: String,
pub timestamp: DateTime<Utc>,
}Expand description
An IPC dead-letter event suitable for chain logging.
Captures when a message is routed to the dead letter queue.
Fields§
§message_id: StringOriginal message ID.
from_pid: u64Sender PID.
target: StringTarget description (formatted from MessageTarget).
payload_type: StringPayload type name.
reason: StringReason delivery failed.
timestamp: DateTime<Utc>Timestamp of the dead-lettering.
Trait Implementations§
Source§impl ChainLoggable for IpcDeadLetterEvent
impl ChainLoggable for IpcDeadLetterEvent
Source§fn chain_event_source(&self) -> &str
fn chain_event_source(&self) -> &str
The source subsystem (e.g. “supervisor”, “governance”, “ipc”).
Source§fn chain_event_kind(&self) -> &str
fn chain_event_kind(&self) -> &str
The event kind string (e.g. “agent.restart”, “governance.deny”).
Source§fn chain_event_payload(&self) -> Value
fn chain_event_payload(&self) -> Value
Build the JSON payload for the chain event.
Auto Trait Implementations§
impl Freeze for IpcDeadLetterEvent
impl RefUnwindSafe for IpcDeadLetterEvent
impl Send for IpcDeadLetterEvent
impl Sync for IpcDeadLetterEvent
impl Unpin for IpcDeadLetterEvent
impl UnsafeUnpin for IpcDeadLetterEvent
impl UnwindSafe for IpcDeadLetterEvent
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more