Module vm_resource::kind

source ·
Expand description

Resource kind definitions that are used by multiple devices.

This exists as a convenient place to define resource kinds without creating a new crate or putting them in a crate that has a lot of unnecessary build dependencies.

Not all resource kinds need to be defined here. If you are adding a new kind and there is a more natural resource crate to put the kind definition in, put it there. For example, if you are defining a resource kind for a resource kind specific to a single device, put it in the resource crate for that device.

Enums§