pub enum Message {
Show 30 variants
Stats(Stats),
StatsEffects(Vec<String>),
StatsTransitions(Vec<String>),
StatsLoop(Vec<String>),
CurrentApp(String),
ButtonRight(bool),
ButtonLeft(bool),
ButtonSelect(bool),
PowerOn,
PowerOff,
Sleep(u32),
Sound(String),
Rtttl(String),
MoodLightOn(Mood),
MoodLightOff,
IndicatorOn(IndicatorId, Indicator),
IndicatorOff(IndicatorId),
SetApp(String, App),
SetApps(String, Vec<App>),
DeleteApp(String),
SetNotification(Notification),
DismissNotification,
NextApp,
PreviousApp,
SwitchApp(String),
Settings(Settings),
Reboot,
Update,
Erase,
ResetSettings,
}Variants§
Stats(Stats)
StatsEffects(Vec<String>)
StatsTransitions(Vec<String>)
StatsLoop(Vec<String>)
CurrentApp(String)
ButtonRight(bool)
ButtonLeft(bool)
ButtonSelect(bool)
PowerOn
PowerOff
Sleep(u32)
Sound(String)
Rtttl(String)
MoodLightOn(Mood)
MoodLightOff
IndicatorOn(IndicatorId, Indicator)
IndicatorOff(IndicatorId)
SetApp(String, App)
SetApps(String, Vec<App>)
DeleteApp(String)
SetNotification(Notification)
DismissNotification
NextApp
PreviousApp
SwitchApp(String)
Settings(Settings)
Reboot
Update
Erase
ResetSettings
Implementations§
Source§impl Message
impl Message
pub async fn http_send( &self, client: &Awtrix3HttpClient, ) -> Result<(), Awtrix3Error>
pub async fn mqtt_send( &self, client: &Awtrix3MqttClient, ) -> Result<(), Awtrix3Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more