Skip to main content

Module opaque

Module opaque 

Source
Expand description

Opaque payloads: a type name and the encoded bytes of a value of that type.

An Opaque value carries a payload that Saluki’s data model doesn’t describe, in the same way as protobuf’s Any. The type name tells a reader how to decode the bytes. A reader that doesn’t know the type name forwards the payload or drops it.

Structs§

Opaque
An opaque payload.

Traits§

OpaqueType
A type that can be encoded into, and decoded from, an Opaque value.