Module drmem_api::device

source ·
Expand description

This module defines types related to devices.

Structs

  • A type representing the base name of a device.
  • Holds a validated device name. A device name consists of a path and a base name where each portion of the path is separated with a colon. Each segment of the path or the name is composed of alpha- numeric and the dash characters. The dash cannot be the first or last character, however.
  • A type which models a device’s path.
  • Represents the value of a device at a specific moment.

Enums

  • Defines fundamental types that can be associated with a device. Drivers set the type for each device they manage and, for devices that can be set, only accept values of the correct type.

Type Definitions

  • Generic type describing a stream of types.