Type Alias PooledDgram

Source
pub type PooledDgram = Pooled<ConsumeBuffer>;
Expand description

A pooled byte buffer to pass datagrams around without copying.

The buffer type records a head offset, which allows cheaply inserting data at the front given sufficient capacity.

Aliased Typeยง

struct PooledDgram { /* private fields */ }