buffer-trait 0.2.1

A `Buffer` trait for reading into uninitialized buffers.
Documentation
  • Coverage
  • 100%
    15 out of 15 items documented2 out of 13 items with examples
  • Size
  • Source code size: 63.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.11 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sunfishcode

A Buffer trait for reading into uninitialized buffers.

This is a repo about the Buffer trait idea covered in a recent blog post.

rustix's Buffer trait is sealed for now, for practical reasons, and not all of the ideas discussed in the post are implemented.

To illustrate the full Buffer idea, this repo contains a library with a fully public Buffer trait, and adds support for a safe interface for using Buffer.

Feedback is welcome! Nothing here is set in stone.