mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-18 12:16:43 -04:00
error: Split out error utils into a separate module
This commit is contained in:
parent
f4247de8c1
commit
fd500229d6
5 changed files with 29 additions and 18 deletions
|
@ -12,6 +12,7 @@ use tracing::error;
|
|||
use zbus::zvariant::Fd;
|
||||
use zbus::{interface, Connection, SignalContext};
|
||||
|
||||
use crate::error::{to_zbus_error, to_zbus_fdo_error};
|
||||
use crate::hardware::{check_support, variant, FanControl, FanControlState, HardwareVariant};
|
||||
use crate::power::{
|
||||
get_gpu_clocks, get_gpu_performance_level, get_tdp_limit, set_gpu_clocks,
|
||||
|
@ -22,7 +23,7 @@ use crate::wifi::{
|
|||
get_wifi_backend, get_wifi_power_management_state, set_wifi_backend, set_wifi_debug_mode,
|
||||
set_wifi_power_management_state, WifiBackend, WifiDebugMode, WifiPowerManagement,
|
||||
};
|
||||
use crate::{to_zbus_error, to_zbus_fdo_error, API_VERSION};
|
||||
use crate::API_VERSION;
|
||||
|
||||
#[derive(PartialEq, Debug, Copy, Clone)]
|
||||
#[repr(u32)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue