Expand description
Clean semantic native frame metadata.
UFrameMetadata is the canonical metadata model for native uProtocol
frames (owned frames, zero-copy frame views, and selected-wire paths).
It carries semantic fields directly and contains no legacy
UAttributes, no UPayloadFormat, and no protobuf concepts.
Legacy compatibility lives at the edges of this module as fallible projections:
try_project_umessage_to_frame_metadata/try_project_frame_to_umessageconvert betweenUMessageand native frames.try_project_attributes_to_frame_metadata/UFrameMetadata::try_project_to_attributesconvert betweenUAttributesand native frame metadata.
Projections fail — they never truncate or silently drop information —
when the target model cannot represent the source (for example a native
PayloadEncoding that has no legacy UPayloadFormat equivalent).
Fixed-layout representations of this metadata (for C/C++ shared-memory
interop) are derived profiles, not this type: see the frame::abi
module. Byte serializations for transports are produced by selected-wire
metadata codecs: see the wire module.
Structs§
- Payload
Encoding - Open identity of the payload representation carried by a native frame.
- UFrame
Metadata - Canonical semantic metadata of a native uProtocol frame.
- UFrame
Metadata Builder - Builder for native frame metadata.
Enums§
- Frame
Message Kind - Semantic kind of a native uProtocol frame.
- Frame
Priority - Semantic QoS class of a native uProtocol frame.
- UFrame
Metadata Error - Errors returned by native frame metadata operations and projections.
Functions§
- try_
project_ attributes_ to_ frame_ metadata - Projects legacy
UAttributes(plus an optional native payload encoding) into native frame metadata. - try_
project_ frame_ to_ umessage - Projects native frame metadata and optional payload bytes into a
UMessage. - try_
project_ umessage_ to_ frame_ metadata - Projects a
UMessageinto native frame metadata.