Crate nvme_common

Source
Expand description

Common routines for interoperating between [nvme_spec] and [disk_backend] types.

Structs§

InvalidReservationType
Error returned by from_nvme_reservation_type.

Functions§

from_nvme_reservation_capabilities
Builds disk_backend reservation capabilities from NVMe reservation capabilities.
from_nvme_reservation_report
Parses an NVMe reservation report into a disk_backend reservation report.
from_nvme_reservation_type
Converts a disk_backend reservation type from an NVMe reservation type.
to_nvme_reservation_type
Converts a disk_backend reservation type to an NVMe reservation type.