Crate mfio_rt

source ·
Expand description

mfio-rt

mfio Backed Runtime

This crate aims to provide building blocks for mfio backed asynchronous runtimes. The traits have the option to not rely on the standard library. This makes the system great for no_std embedded environments or kernel-side code.

native feature (depends on std) enables native implementations of the runtime through NativeRt structure.

virt feature enables a virtual in-memory runtime through VirtRt structure.

Custom runtimes may be implemented by implementing IoBackend, and any of the runtime traits, such as Fs or Tcp.

no_std

Currently, only Fs is exposed in no_std environments. Tcp depends on structures, such as SocketAddr that are currently not available in core. This will change once ip_in_core is stabilized.

Re-exports

Modules

Macros

Structs

Enums

  • A single component of a path.
  • List of operations that can be done on a filesystem.
  • Directory list entry type.
  • Network stream shutdown options.

Traits

  • Represents a location in filesystem operations are performed from.
  • Helpers for running directory operations more ergonomically.
  • Supertrait for file handles.
  • Primary filesystem trait.
  • Supertrait for stream handles.
  • Tcpstd
    Describes TCP capable runtime operations.
  • Describes operations performable on a TCP listener.
  • Describes operations performable on a TCP connection.