cargo fmt
This commit is contained in:
parent
54c7b63edf
commit
0d3d049516
1 changed files with 7 additions and 4 deletions
|
|
@ -186,12 +186,15 @@ pub trait Device {
|
||||||
#[zbus(property)]
|
#[zbus(property)]
|
||||||
fn voltage_max_design(&self) -> zbus::Result<f64>;
|
fn voltage_max_design(&self) -> zbus::Result<f64>;
|
||||||
|
|
||||||
|
fn get_history(
|
||||||
fn get_history(&self, type_: String, timespan: u32, resolution: u32) -> zbus::Result<Vec<(u32, f64, u32)>>;
|
&self,
|
||||||
|
type_: String,
|
||||||
|
timespan: u32,
|
||||||
|
resolution: u32,
|
||||||
|
) -> zbus::Result<Vec<(u32, f64, u32)>>;
|
||||||
|
|
||||||
fn get_statistics(&self, type_: String) -> zbus::Result<Vec<(f64, f64)>>;
|
fn get_statistics(&self, type_: String) -> zbus::Result<Vec<(f64, f64)>>;
|
||||||
|
|
||||||
|
|
||||||
#[zbus(signal)]
|
#[zbus(signal)]
|
||||||
fn enable_charge_threshold(&self, message: bool) -> zbus::Result<()>;
|
fn enable_charge_threshold(&self, message: bool) -> zbus::Result<()>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue