Struct DeviceSnapshot

Struct Documentation

struct DeviceSnapshot

Copied native-device identity/availability observation; known does not imply currently connected.

Public Functions

inline bool known() const noexcept

Declaration: [[nodiscard]]

Return whether identity is nonzero, independently of current device availability.

Public Members

std::uint64_t identity = 0

Opaque stable identity while this adapter retains the device;0 means unknown.

bool available = false

Native device currently reports availability.