logo
Expand description

vino-packet

The Vino packet crate contains the consistent message structure for arbitrary output from Vino components and providers.

Components output versioned payloads (e.g. a v0::Payload) which then get wrapped into a Packet to normalize differences across versions.

Packets are designed for backwards compatibility but that compatibility layer is strictly between the component and Packet, not for consumers of the Packet. Packets are not meant to be long lived and you should have a compatibility layer between Packets and your system if you depend on this crate. For example, Vino uses vino-transport to keep a dependent platform insulated from Packet changes.

License: BSD-3-Clause

Re-exports

pub use packet::*;

Modules

The crate’s error module.

Module for Packet, the versioned Vino message structure.

Version 0 of the output format.

Version 1 of the output format.