Crate compio_buf

source ·
Expand description

Utilities for working with buffers.

Completion 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 safety contract.

Re-exports

Macros

  • A helper macro to imitate the behavior of try trait ?.

Structs

  • A specialized Result type for operations with buffers.
  • An owned view into a contiguous sequence of bytes.

Traits