bitfold_protocol/
lib.rs

1#![warn(missing_docs)]
2
3//! Protocol packet types, headers, and protocol logic.
4
5/// Acknowledgment tracking and reliable delivery.
6pub mod acknowledgment;
7/// Bandwidth management and throttling.
8pub mod bandwidth;
9/// Channel abstraction for independent communication streams.
10pub mod channel;
11/// Protocol command types.
12pub mod command;
13/// Command serialization and deserialization.
14pub mod command_codec;
15/// Congestion control and RTT tracking.
16pub mod congestion;
17/// Packet types and structures.
18pub mod packet;
19/// Sequence buffers for tracking sent/received packets.
20pub mod sequence_buffer;
21
22pub use acknowledgment::{AcknowledgmentHandler, SentPacket};
23pub use packet::{
24    DeliveryGuarantee, IncomingPackets, OrderingGuarantee, Packet, PacketInfo, PacketType,
25};