Skip to main content

EMBEDDED

Constant EMBEDDED 

Source
pub const EMBEDDED: NetworkingConfig<EmbeddedTransport<()>, Embedded>;
Expand description

A network channel implemented by the host of an embedded program, which chooses how messages travel: a network connection, an in-memory queue, or anything else that delivers them with the guarantees of the chosen failure policy (for example EMBEDDED.fail_stop().name("messages")).

Items cross the channel unserialized: the generated channel ends carry the raw element type, and the host encodes it if its transport needs to. The program names only the guarantees, not a transport, so it is only supported by the embedded deployment backend and the Hydro simulator (which carries the raw values in memory); other backends use TCP or UDP.