1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 The Hyperlight Authors.
use Vec;
use Result;
use Bytes;
/// Receives external byte values while their FlatBuffer metadata is encoded.
///
/// Values are delivered in their logical order without flattening chunked
/// values. The value lifetime allows a sink to retain references until the
/// control buffer has been written, without copying payload bytes.
/// Supplies complete external byte values while a FlatBuffer is decoded.
///
/// [`RecvChain`](crate::virtq::RecvChain) copies values out of shared memory.
/// [`Segments`](crate::virtq::Segments) retains existing chunk owners.
///
/// Implementations must validate `length` against available input and the
/// resource budget before allocating.