pub struct MessageAddress { /* private fields */ }Expand description
Represents the addressable endpoint of an actor, combining its identity and inbox channel.
A MessageAddress contains the necessary information to send a message to a specific
actor: 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§fn clone(&self) -> MessageAddress
fn clone(&self) -> MessageAddress
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 MessageAddress
impl Debug for MessageAddress
Source§impl Default for MessageAddress
impl Default for MessageAddress
Source§impl PartialEq for MessageAddress
Implements equality comparison for MessageAddress based on the sender’s Ern.
impl PartialEq for MessageAddress
Implements equality comparison for MessageAddress based on the sender’s Ern.
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