Trait amdgpu_sysfs::sysfs::SysFS [−][src]
pub trait SysFS {
fn get_path(&self) -> &Path;
fn read_file(&self, file: &str) -> Option<String> { ... }
fn write_file<C: AsRef<[u8]>>(
&self,
file: &str,
contents: C
) -> Result<(), Error> { ... }
}