pub trait SysfsOps<S: SynchronousProxy>:
Default
+ Send
+ Sync
+ 'static {
// Provided methods
fn show(&self, _service: &S) -> Result<String, SysfsError> { ... }
fn store(&self, _service: &S, _value: String) -> Result<(), SysfsError> { ... }
}Expand description
Operations supported by sysfs files.
These are analogous to (but not identical to) the operations exposed by Linux sysfs attributes.
Provided Methods§
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.