Skip to main content

HasProperties

Trait HasProperties 

Source
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§

Source

fn property_names(&self) -> PylonResult<Vec<String>>

Returns the available property names.

Source

fn property_value(&self, name: &str) -> PylonResult<String>

Returns the value for a single property.

Implementors§