pub trait RawPoolBufIo: Send {
// Required methods
fn poll_send_reserve(&mut self, cx: &mut Context<'_>) -> Poll<Result<()>>;
fn send_buf(&mut self, buf: PooledBuf, fin: bool) -> Result<()>;
fn poll_recv_buf(&mut self, cx: &mut Context<'_>) -> Poll<Result<PooledBuf>>;
}
Expand description
A trait to optimize read and write operations on pooled buffers.