pub trait SysEntity: AsRef<Path> {
// Required methods
fn to_entity_path(self) -> EntityPath;
fn name(&self) -> IoResult<String>;
// Provided method
fn root(&self) -> Option<SysPath> { ... }
}Expand description
sysfs class entity functionality
Required Methods§
sourcefn to_entity_path(self) -> EntityPath
fn to_entity_path(self) -> EntityPath
Convert specialized entity into general entity path container