logo
Expand description

Maintenance

wasmflow-transport

Wasmflow Transport contains the structures and methods for communicating across entity boundaries. It handles abstracting payload versions and implementations so they can be used easily.

The MessageTransport struct normalizes wasmflow_packet::Packets for the Wasmflow tools.

The TransportWrapper wraps a MessageTransport along with the port name it originated from.

A TransportStream is a stream of TransportWrappers.

Modules

The crate’s error module;.

Structs

A simplified JSON representation of a MessageTransport

A wrapper for a map of Strings to MessageTransport

A TransportWrapper is a wrapper around a MessageTransport with the port name it originated from.

Enums

A Failure message.

The kinds of errors that a TransportJson can carry

Internal signals that need to be handled before propagating to a downstream consumer.

The MessageTransport is the primary way messages are sent around Wasmflow Networks and Schematics. It is the internal representation for normalized output Packet’s.

A success message.

Constants

The reserved port name to use when a component returns an error before it has a chance to send it to an output port.

The name of system-originating messages on a port, schematic, or origin.

Type Definitions

The crate’s Error type.