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.
DevInfo
ExportDevInfo
Represent the informations 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
An abstract specification of single to many AttrWrite-like, which is used by the DevProxy::write_attr in order to be very flexible.