Skip to main content

Module buffer

Module buffer 

Source
Expand description

BufferPool/PooledBuf — per-worker byte-buffer reservoir. Folded in from the former proxima-lib satellite crate: BufferPool leans on thread_local::ThreadLocal for its per-worker routing, which has no no_std/alloc analog (it resolves OS thread identity), so the whole pool is std-only; alloc-only builds carry no public API here.

Structs§

BufferPool
Per-worker BytesMut reservoir backed by a thread-local ArrayQueue. Lock-free in the steady state because each queue is only ever touched by one worker.
PooledBuf

Constants§

DEFAULT_BUFFER_BYTES
DEFAULT_POOL_PER_WORKER