Crate libccp[−][src]
Expand description
Rust bindings for libccp. This crate is useful for writing CCP datapaths in Rust.
Users need to implement two traits: Datapath
and CongestionOps
.
Datapath
implements not specific to a single connection.
CongestionOps
implements connection-level events.
Structs
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 &'dp Datapath
.
Represents datapath functionality. libccp state is freed when this is dropped.
Construct a datapath object.
Enums
Traits
Implement this trait on the type that holds per-connection state.
Datapath-wide functionality.