Crate vmm_sys_util[][src]

Expand description

Collection of modules that provides helpers and utilities used by multiple rust-vmm components.


Safe wrapper over Linux AIO.

Safe wrappers over the epoll API.

Structures, helpers, and type definitions for working with errno.

Structure and wrapper functions for working with eventfd.

Enum and function for dealing with an allocated disk space by fallocate.

Trait and wrapper for working with C defined FAM structures.

Traits for handling file synchronization and length.

Macros and functions for working with ioctl.

The purpose of this module is to provide abstractions for working with metrics in the context of rust-vmm components where there is a strong need to have metrics as an optional feature.

Traits and structures for working with epoll

Miscellaneous functions related to getting (pseudo) random numbers and strings.

Traits and implementations over lseek64.

Enums, traits and functions for working with signal.

Wrapper for sending and receiving messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).

Wrapper for interpreting syscall exit codes.

Structure for handling temporary directories.

Struct for handling temporary files as well as any cleanup required.

Trait for working with termios.

Structure and functions for working with timerfd.

Traits for replacing a range with a hole and writing zeroes in a file.


Generate FamStruct implementation for structs with flexible array member.

Expression that calculates an ioctl number.

Declare an ioctl that transfers no data.

Declare a function that returns an ioctl number.

Declare an ioctl that reads data.

Declare an ioctl that writes data.

Declare an ioctl that reads and writes data.