pub struct AgentMessageHandle {
pub message_id: ProducerMessageId,
pub mode: ProducerDeliveryMode,
pub recipient_state: AgentRecipientState,
}Expand description
The send_message result contract: success means the message is durably
accepted (ProducerMessageAccepted persisted in the recipient’s event
log), not that the recipient has consumed it.
Fields§
§message_id: ProducerMessageId§mode: ProducerDeliveryMode§recipient_state: AgentRecipientStateTrait Implementations§
Source§impl Clone for AgentMessageHandle
impl Clone for AgentMessageHandle
Source§fn clone(&self) -> AgentMessageHandle
fn clone(&self) -> AgentMessageHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentMessageHandle
impl Debug for AgentMessageHandle
impl Eq for AgentMessageHandle
Source§impl PartialEq for AgentMessageHandle
impl PartialEq for AgentMessageHandle
Source§fn eq(&self, other: &AgentMessageHandle) -> bool
fn eq(&self, other: &AgentMessageHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentMessageHandle
Auto Trait Implementations§
impl Freeze for AgentMessageHandle
impl RefUnwindSafe for AgentMessageHandle
impl Send for AgentMessageHandle
impl Sync for AgentMessageHandle
impl Unpin for AgentMessageHandle
impl UnsafeUnpin for AgentMessageHandle
impl UnwindSafe for AgentMessageHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.