pub enum ToMachine {
Hello,
Command {
sealed: Vec<u8>,
},
}Expand description
From the device, as the data of an input.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToMachine
impl<'de> Deserialize<'de> for ToMachine
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
impl Eq for ToMachine
impl StructuralPartialEq for ToMachine
Auto Trait Implementations§
impl Forget for ToMachine
impl Freeze for ToMachine
impl Move for ToMachine
impl RefUnwindSafe for ToMachine
impl Send for ToMachine
impl Sync for ToMachine
impl Unpin for ToMachine
impl UnsafeUnpin for ToMachine
impl UnwindSafe for ToMachine
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