pub struct ActorMessage {
pub from: ActorId,
pub to: ActorId,
pub payload: RtObject,
pub seq: u64,
}Expand description
A message sent to an actor.
Fields§
§from: ActorIdSender actor.
to: ActorIdRecipient actor.
payload: RtObjectThe message payload.
seq: u64Sequence number.
Implementations§
Trait Implementations§
Source§impl Clone for ActorMessage
impl Clone for ActorMessage
Source§fn clone(&self) -> ActorMessage
fn clone(&self) -> ActorMessage
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 moreAuto Trait Implementations§
impl Freeze for ActorMessage
impl RefUnwindSafe for ActorMessage
impl Send for ActorMessage
impl Sync for ActorMessage
impl Unpin for ActorMessage
impl UnsafeUnpin for ActorMessage
impl UnwindSafe for ActorMessage
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