Module fuse_backend_rs::common

source ·
Expand description

Some utilities to support fuse-backend-rs.

§Wrappers for Rust async io

It’s challenging to support Rust async io, and it’s even more challenging to support Rust async io with Linux io-uring.

This common module adds a wrapper layer over tokio and tokio-uring to simplify the way to support Rust async io by providing:

Modules§

  • File to wrap over tokio::fs::File and tokio-uring::fs::File.
  • Runtime to wrap over tokio current-thread Runtime and tokio-uring Runtime.
  • Provide data buffers to support tokio and tokio-uring based async io.
  • File extension traits to transfer data between File objects and VolatileSlice buffers.
  • Asynchronous Multi-Producer Multi-Consumer channel.