pub struct MessageAddress { /* private fields */ }Expand description
Represents the addressable endpoint of an agent, combining its identity and inbox channel.
A MessageAddress contains the necessary information to send a message to a specific
agent: its unique identifier (sender, an Ern) and the sender half (address)
of the MPSC channel connected to its inbox.
This struct is typically used within message envelopes ([OutboundEnvelope]) to specify
the sender and recipient of a message.
Implementations§
Trait Implementations§
Source§impl Clone for MessageAddress
impl Clone for MessageAddress
Source§impl Debug for MessageAddress
impl Debug for MessageAddress
Source§impl Default for MessageAddress
impl Default for MessageAddress
Auto Trait Implementations§
impl Freeze for MessageAddress
impl RefUnwindSafe for MessageAddress
impl Send for MessageAddress
impl Sync for MessageAddress
impl Unpin for MessageAddress
impl UnsafeUnpin for MessageAddress
impl UnwindSafe for MessageAddress
Blanket Implementations§
Source§impl<T> ActonMessage for T
impl<T> ActonMessage for T
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