Enum led_box_comms::FromDevice
source · pub enum FromDevice {
DeviceState(DeviceState),
EchoResponse8((u8, u8, u8, u8, u8, u8, u8, u8)),
VersionResponse(u16),
StateWasSet,
}
Variants§
DeviceState(DeviceState)
EchoResponse8((u8, u8, u8, u8, u8, u8, u8, u8))
VersionResponse(u16)
StateWasSet
Trait Implementations§
source§impl Clone for FromDevice
impl Clone for FromDevice
source§fn clone(&self) -> FromDevice
fn clone(&self) -> FromDevice
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FromDevice
impl Debug for FromDevice
source§impl<'de> Deserialize<'de> for FromDevice
impl<'de> Deserialize<'de> for FromDevice
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FromDevice
impl PartialEq for FromDevice
source§fn eq(&self, other: &FromDevice) -> bool
fn eq(&self, other: &FromDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FromDevice
impl Serialize for FromDevice
impl Copy for FromDevice
impl StructuralPartialEq for FromDevice
Auto Trait Implementations§
impl Freeze for FromDevice
impl RefUnwindSafe for FromDevice
impl Send for FromDevice
impl Sync for FromDevice
impl Unpin for FromDevice
impl UnwindSafe for FromDevice
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