SysAttribute

Trait SysAttribute 

Source
pub trait SysAttribute: Eq {
    // Required method
    fn filename(&self) -> PathBuf;
}
Expand description

sysfs entity attribute file functionality

Required Methods§

Source

fn filename(&self) -> PathBuf

attribute file name

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SysAttribute for &str

Source§

impl SysAttribute for String

Implementors§