pub struct SerializedMessage {
pub serializer_id: u32,
pub manifest: String,
pub payload: Vec<u8>,
pub sender: Option<ActorPath>,
}Expand description
A serialized user message destined for a remote actor.
manifest is the type identifier (std::any::type_name::<M>() by default)
and serializer_id keys into the per-system serializer registry on the
receiving side.
Fields§
§serializer_id: u32§manifest: String§payload: Vec<u8>§sender: Option<ActorPath>Trait Implementations§
Source§impl Clone for SerializedMessage
impl Clone for SerializedMessage
Source§fn clone(&self) -> SerializedMessage
fn clone(&self) -> SerializedMessage
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 SerializedMessage
impl RefUnwindSafe for SerializedMessage
impl Send for SerializedMessage
impl Sync for SerializedMessage
impl Unpin for SerializedMessage
impl UnsafeUnpin for SerializedMessage
impl UnwindSafe for SerializedMessage
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