Skip to content

jsgf/libaio-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libaio Binding

This crate implements a binding for Linux's libaio, for async block IO.

It presents several related APIs:

  • raw, which is a fairly direct mapping of the AIO syscalls to Rust
  • chan, a channel-oriented interface for submitting AIO operations and getting their results,
  • future, a function-oriented interface which returns futures for results

There is also a set of utility modules:

  • buf, which defines RdBuf and WrBuf traits, and some implementations for slices and Vec
  • directio, for opening direct IO files (preferred for async IO)
  • aligned, for allocating suitably aligned memory for direct IO.

This is still very much a work in progress, and the API is not at all stable yet.

Jeremy Fitzhardinge jeremy@goop.org

About

Rust binding to Linux's async block IO: libaio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages