indexbus_kit/transport/
mod.rs1#[cfg(feature = "transport-local")]
7pub mod local {
8 pub use indexbus_transport_local::*;
10}
11
12#[cfg(feature = "transport-udp")]
13pub mod udp {
14 pub use indexbus_transport_udp::{
16 NetReceiver, NetReceiverStatsSnapshot, NetSender, PeerSeqStats, RecvToShmOptions,
17 RecvToShmResult,
18 };
19
20 pub mod protocol {
21 pub use indexbus_transport_udp::{
23 decode_packet, encode_packet, max_frames_for_mtu, DecodedMessages, DecodedPacket,
24 ProtocolError, DEFAULT_MTU, FRAME_SIZE, HEADER_SIZE, MAGIC, VERSION,
25 };
26 }
27}
28
29#[cfg(feature = "transport-local")]
30pub use local::*;
31
32#[cfg(feature = "transport-udp")]
33pub use udp::*;