pub enum InboxMessage {
Control(ControlMessage),
Guidance(GuidanceMessage),
Evidence(EvidenceUpdate),
A2a(A2aMessage),
}Expand description
Inbox message - wraps all message types
Variants§
Control(ControlMessage)
Control message (pause/resume/cancel)
Guidance(GuidanceMessage)
User or system guidance
Evidence(EvidenceUpdate)
Evidence update from discovery or external source
A2a(A2aMessage)
Agent-to-Agent message
Implementations§
Source§impl InboxMessage
impl InboxMessage
Sourcepub fn message_type(&self) -> InboxMessageType
pub fn message_type(&self) -> InboxMessageType
Get the message type for logging/audit
Sourcepub fn execution_id(&self) -> &ExecutionId
pub fn execution_id(&self) -> &ExecutionId
Get the execution ID this message is for
Sourcepub fn priority_order(&self) -> u8
pub fn priority_order(&self) -> u8
Get the priority for sorting (lower = higher priority)
INV-INBOX-002: Control messages have highest priority
Sourcepub fn is_control(&self) -> bool
pub fn is_control(&self) -> bool
Check if this is a control message
Trait Implementations§
Source§impl Clone for InboxMessage
impl Clone for InboxMessage
Source§fn clone(&self) -> InboxMessage
fn clone(&self) -> InboxMessage
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 moreSource§impl Debug for InboxMessage
impl Debug for InboxMessage
Source§impl<'de> Deserialize<'de> for InboxMessage
impl<'de> Deserialize<'de> for InboxMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InboxMessage
impl RefUnwindSafe for InboxMessage
impl Send for InboxMessage
impl Sync for InboxMessage
impl Unpin for InboxMessage
impl UnsafeUnpin for InboxMessage
impl UnwindSafe for InboxMessage
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