pub trait HasProperties {
// Required methods
fn property_names(&self) -> PylonResult<Vec<String>>;
fn property_value(&self, name: &str) -> PylonResult<String>;
}Expand description
Shared access to name/value device properties.
Required Methods§
Sourcefn property_names(&self) -> PylonResult<Vec<String>>
fn property_names(&self) -> PylonResult<Vec<String>>
Returns the available property names.
Sourcefn property_value(&self, name: &str) -> PylonResult<String>
fn property_value(&self, name: &str) -> PylonResult<String>
Returns the value for a single property.