Skip to main content

Module database

Module database 

Source
Expand description

Proxy to database devices.

Structs§

DatabaseProxy
Proxy to a database with easy abstraction for commands that request devices.
DbDevInfo
What the database knows of a device, see DatabaseProxy::get_dev_info.
ExportDevInfo
The information required to export a device.
ImportDevInfo
Information for how to import a device from the database.

Traits§

GetAttrPropSpec
A trait for attribute property specifiers, which allows a great flexibility in how DatabaseProxy::get_dev_attr_prop works: the attributes are shaped by their names, the way any request on names is, see crate::dev::ToNamesSpec, and the properties of every one of them by the names of the properties, see GetPropSpec, which is what this is implemented on.
GetPropSpec
A trait for property specifiers, which allows a great flexibility in how DatabaseProxy::get_dev_prop works.
SetAttrPropSpec
An abstract specification of the properties to write of one to many attributes, every attribute being given what SetPropSpec takes for the properties of an object, see DatabaseProxy::set_dev_attr_prop.
SetPropSpec
The properties to write, as name/value pairs, see DatabaseProxy::set_dev_prop.