Skip to main content

Message

Trait Message 

Source
pub trait Message: 'static + Send {
    type Result: 'static + Send;
}
Expand description

Represents a message that can be handled by the actor.

Required Associated Types§

Source

type Result: 'static + Send

The return value type of the message This type can be set to () if the message does not return a value, or if it is a notification message

Implementors§