forked from sigil-03/power
make SET stub + move elements into system wrapper
This commit is contained in:
parent
fd120be85e
commit
987150c9b6
6 changed files with 108 additions and 65 deletions
5
src/control.rs
Normal file
5
src/control.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
use crate::types::Error;
|
||||
|
||||
pub trait Control {
|
||||
async fn set_power(&self) -> Result<(), Error>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue