Rust bindings for libccp. This crate is useful for writing CCP datapaths in Rust.
Users need to implement two traits:
Datapath implements not specific to a single connection.
CongestionOps implements connection-level events.
An individual Connection.
Connections cannot outlive the
Datapath they belong to, since they contain
a pointer to memory that is freed when
Datapath is dropped.
So, their lifetime is
'dp from the
Represents datapath functionality. libccp state is freed when this is dropped.
Construct a datapath object.