Refactored how we deal with blocking code and added AudioSetup

This commit is contained in:
2023-01-03 05:26:00 +01:00
parent 06e511758b
commit cfd10a7daf
13 changed files with 464 additions and 118 deletions

View File

@@ -6,8 +6,12 @@ use serde::Serialize;
pub enum DeviceError {
#[error("deviceNotFound")]
DeviceNotFound,
#[error("deviceOffline")]
DeviceOffline,
#[error("actionNotAvailable")]
ActionNotAvailable,
#[error("transientError")]
TransientError,
}
#[derive(Debug, Hash, PartialEq, Eq, Copy, Clone, Serialize, Error)]