Collection of modules that provides helpers and utilities used by multiple rust-vmm components.
Safe wrapper over
Safe wrappers over the
Structures, helpers, and type definitions for working with
Structure and wrapper functions for working with
Enum and function for dealing with an allocated disk space
Trait and wrapper for working with C defined FAM structures.
Traits for handling file synchronization and length.
Macros and functions for working with
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
Miscellaneous functions related to getting (pseudo) random numbers and strings.
Traits and implementations over lseek64.
Enums, traits and functions for working with
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
Structure and functions for working with
Traits for replacing a range with a hole and writing zeroes in a file.
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.