Module xitca_http::bytes

source ·
Expand description

re-export bytes crate as module. re-export of bytes crate types.

Modules§

  • Utilities for working with buffers.

Structs§

  • A new type for help implementing io::Write and fmt::Write traits.
  • A cheaply cloneable and sliceable chunk of contiguous memory.
  • A unique reference to a contiguous slice of memory.
  • reference counted String type. cheap to Clone and share between multiple threads.
  • const generic guarded BytesMut with page size in byte unit at compile time. when internal memory reserve happen it always aim for the page size.

Enums§

  • An enum implement Buf trait when both arms are types implement the same trait.

Traits§

  • Read bytes from a buffer.
  • trait generic over different types of buffer strategy.
  • A trait for values that provide sequential write access to bytes.
  • trait generic over different types of read buffer strategy.
  • trait generic over different types of write buffer strategy.