Crate disk_backend

Source
Expand description

Defines the Disk type, which provides an interface to a block device, used for different disk frontends (such as the floppy disk, IDE, SCSI, or NVMe emulators) as well as direct disk access for other purposes (such as the VMGS file system).

Disks are backed by a DiskIo implementation. Specific disk backends should be in their own crates.

Modules§

pr
Persistent reservation support.
resolve
Resolver-related definitions for disk resources.
sync_wrapper
A wrapper around Disk that adapts the trait for use with synchronous std::io traits (such as Read, Write, Seek, etc…).

Structs§

Disk
An asynchronous block device.

Enums§

DiskError
A disk operation error.
InvalidDisk
Errors that can occur when creating a Disk.
MediumErrorDetails
Failure details for DiskError::MediumError.
UnmapBehavior
The behavior of unmap.

Traits§

DiskIo
Disk metadata and IO operations.