[][src]Enum maxim::system::WireMessage

pub enum WireMessage {
    Hello {
        system_actor_aid: Aid,
    },
    ActorMessage {
        actor_uuid: Uuid,
        system_uuid: Uuid,
        message: Message,
    },
    DelayedActorMessage {
        duration: Duration,
        actor_uuid: Uuid,
        system_uuid: Uuid,
        message: Message,
    },
}

A type used for sending messages to other actor systems.

Variants

Hello

A message sent as a response to another actor system connecting to this actor system.

Fields of Hello

system_actor_aid: Aid

The aid for the system actor on the actor system sending the message.

ActorMessage

A container for a message from one actor on one system to an actor on another system.

Fields of ActorMessage

actor_uuid: Uuid

The UUID of the Aid that the message is being sent to.

system_uuid: Uuid

The UUID of the system that the destination Aid is local to.

message: Message

The message to be sent.

DelayedActorMessage

A container for sending a message with a specified duration delay.

Fields of DelayedActorMessage

duration: Duration

The duration to use to delay the message.

actor_uuid: Uuid

The UUID of the Aid that the message is being sent to.

system_uuid: Uuid

The UUID of the system that the destination Aid is local to.

message: Message

The message to be sent.

Trait Implementations

impl Clone for WireMessage[src]

impl<'de> Deserialize<'de> for WireMessage[src]

impl Serialize for WireMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ActorMessage for T where
    T: 'static + Serialize + DeserializeOwned + Sync + Send + Any + ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,