mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Update deps
This commit is contained in:
@@ -7,7 +7,7 @@ use zbus::proxy;
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait Anime {
|
||||
pub trait Anime {
|
||||
/// DeviceState method
|
||||
fn device_state(&self) -> zbus::Result<AnimeDeviceState>;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ const BLOCKING_TIME: u64 = 33; // 100ms = 10 FPS, max 50ms = 20 FPS, 40ms = 25 F
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux/Aura"
|
||||
)]
|
||||
trait Aura {
|
||||
pub trait Aura {
|
||||
/// AllModeData method
|
||||
fn all_mode_data(&self) -> zbus::Result<BTreeMap<AuraModeNum, AuraEffect>>;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ use zbus::proxy;
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait FanCurves {
|
||||
pub trait FanCurves {
|
||||
/// Get the fan-curve data for the currently active PlatformProfile
|
||||
fn fan_curve_data(&self, profile: ThrottlePolicy) -> zbus::Result<Vec<CurveData>>;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ use zbus::proxy;
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait Platform {
|
||||
pub trait Platform {
|
||||
#[zbus(property)]
|
||||
fn version(&self) -> zbus::Result<String>;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use zbus::proxy;
|
||||
default_service = "org.asuslinux.Daemon",
|
||||
default_path = "/org/asuslinux"
|
||||
)]
|
||||
trait Slash {
|
||||
pub trait Slash {
|
||||
/// EnableDisplay property
|
||||
#[zbus(property)]
|
||||
fn enabled(&self) -> zbus::Result<bool>;
|
||||
|
||||
Reference in New Issue
Block a user