Enum cloudbbq::SettingResult[][src]

pub enum SettingResult {
    AcknowledgeCommand {
        command_id: u8,
    },
    BatteryLevel {
        current_voltage: u16,
        max_voltage: u16,
    },
    SilencePressed,
}

A response to some command sent to the device, or a notification.

Variants

AcknowledgeCommand

A confirmation that the given command has been received.

Fields of AcknowledgeCommand

command_id: u8
BatteryLevel

The current battery level of the device.

Fields of BatteryLevel

current_voltage: u16max_voltage: u16
SilencePressed

A notification that the button on the device has been pressed to stop the target temperature alarm sounding.

Trait Implementations

impl Clone for SettingResult[src]

impl Debug for SettingResult[src]

impl Eq for SettingResult[src]

impl PartialEq<SettingResult> for SettingResult[src]

impl StructuralEq for SettingResult[src]

impl StructuralPartialEq for SettingResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.