pub trait PropertyAccessor {
// Required methods
fn read_property(&self, path: &[&str]) -> Option<Bytes>;
fn set_property(&self, path: &[&str], value: Option<&[u8]>);
}Expand description
Abstraction that enables property manipulation
Required Methods§
Sourcefn read_property(&self, path: &[&str]) -> Option<Bytes>
fn read_property(&self, path: &[&str]) -> Option<Bytes>
Returns a property, if not missing
Sourcefn set_property(&self, path: &[&str], value: Option<&[u8]>)
fn set_property(&self, path: &[&str], value: Option<&[u8]>)
Overrides a given property with a given value