Skip to main content

Crate bytes_handoff

Crate bytes_handoff 

Source
Expand description

Incremental byte ingestion and owned write handoff for async I/O boundaries.

This crate is intentionally small: it does not replace AsyncRead or AsyncWrite. It owns the byte lifecycle around those traits so callers can peek at incomplete input, split complete prefixes into Bytes, preserve tails across mode changes, and submit large owned writes without borrowing memory across an async socket operation.

Structs§

HandoffBuffer
HandoffBufferConfig
WriteBackpressure
WriteCompletion
WriteHandoff
WriteHandoffConfig
WriteTicket

Enums§

BackpressureReason
BufferError
WriteError