Expand description
§vino-transport
Vino 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 vino_packet::Packet
s for
the Vino tools.
The TransportWrapper
wraps a MessageTransport
along with the port name
it originated from.
A TransportStream
is a stream of TransportWrapper
s.
Modules§
- error
- The crate’s error module;.
Structs§
- Transport
Map - A wrapper for a map of Strings to MessageTransport
- Transport
Wrapper - A TransportWrapper is a wrapper around a MessageTransport with the port name it originated from.
Enums§
- Failure
- A Failure message.
- Message
Signal - Internal signals that need to be handled before propagating to a downstream consumer.
- Message
Transport - The MessageTransport is the primary way messages are sent around Vino Networks and Schematics. It is the internal representation for normalized output Packet’s.
- Success
- A success message.
Constants§
- COMPONENT_
ERROR - The reserved port name to use when a component returns an error before it has a chance to send it to an output port.
- SYSTEM_
ID - The name of system-originating messages on a port, schematic, or origin.
Type Aliases§
- Error
- The crate’s Error type.