Preview of the proposed up-rust native-frame-model branch (up-rust b6b99c6d, up-spec f0e9b17) — not released documentation. branch · write-up

Module zero_copy

Source
Expand description

Zero-copy communication-layer facade.

This module exposes the L2 operations that preserve zero-copy semantics: stable/no-zero publish and subscription with the transport’s receive lease type delivered directly to the listener. The facade does not adapt or copy received payloads, so selected-wire transports retain their typed UWireRx decode surface.

RPC server and request handling remain at the UZeroCopyTransport layer because their non-copying shape is tied to the transport receive lease type. Any future convenience that copies out of a receive lease must use a copying name and must not claim no-copy behavior.

Structs§

Endpoint
Role: the up-L2 publish and subscribe surface over a selected-wire zero-copy transport — typed payloads use transport loans and receive leases directly, with role ergonomics. See the guide.
Publisher
Publisher implemented over a selected-wire zero-copy transport.
Subscriber
Role: the up-L2 subscribe surface over a selected-wire zero-copy transport (experimental) — see the trait map.