Module tokio_uring::buf

source ·
Expand description

Utilities for working with buffers.

io-uring APIs require passing ownership of buffers to the runtime. The crate defines IoBuf and IoBufMut traits which are implemented by buffer types that respect the io-uring contract.

Structs

  • An owned view into a contiguous sequence of bytes.

Traits

  • An io-uring compatible buffer.
  • A mutableio-uring compatible buffer.