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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//! Typed exclusive-attachment streaming abstraction over the velo transport.
//!
//! Core wire types:
//! - [`handle::StreamAnchorHandle`]: compact u128 encoding WorkerId + local anchor ID
//! - [`frame::StreamFrame`]: seven-variant enum representing all frame types on the wire
//!
//! Transport abstraction:
//! - [`transport::FrameTransport`]: pluggable ordered-delivery transport trait
//! returning [`flume::Receiver<Vec<u8>>`] and [`flume::Sender<Vec<u8>>`]
//! channel endpoints via [`futures::future::BoxFuture`]
//!
//! Anchor registry:
//! - [`anchor::AnchorManager`]: creates and tracks streaming anchors
//! - [`anchor::StreamAnchor`]: typed receive stream for anchor consumers
//! - [`anchor::AttachError`]: errors for exclusive-attach operations
//!
//! Sender:
//! - [`sender::StreamSender`]: typed sender for pushing frames with heartbeat and drop safety
/// Batched, multiplexed streaming over the Messenger (`messenger-mux-v1`).
///
/// The transport itself is internal — it is opt-in and selected at attach time,
/// so nothing outside this crate constructs or names it. What is re-exported
/// below is only what a caller must be able to say: how to configure it, and
/// the key it answers to, which is what
/// [`StreamSender::negotiated_transport`] is compared against.
pub
pub
pub use ;
pub use ;
pub use GrpcFrameTransport;
pub use ;
pub use ;
pub use ;
pub use StreamSender;
pub use TcpFrameTransport;
pub use FrameTransport;