Module ambient_api::message
source · Expand description
Messaging to other packages and to the other side of the network boundary.
Structs
- Handle to a message listener that can be used to stop listening.
- Message context.
Enums
- Error that can occur during message ser/de.
- Where a message came from.
- The target for a originating message.
Traits
- Implemented on all types that can be de/serialized from/to a
Vec<u8>
. - Implemented for all types that can be serialized in a message.
- Implemented by all messages that can be sent between modules.
- Implemented by all messages sent from the runtime.
Functions
- Send a message from this package to a specific
target
. - Subscribes to a message.