Enum etherdream::protocol::CommandCode
[−]
[src]
pub enum CommandCode { Begin, Data, Ping, Prepare, CommandUnknown { code: u8, }, }
EtherDream Commands.
Variants
Begin
Data
Ping
Prepare
CommandUnknown
Fields of CommandUnknown
code: u8 |
Methods
impl CommandCode
[src]
fn parse(byte: u8) -> CommandCode
Trait Implementations
impl Clone for CommandCode
[src]
fn clone(&self) -> CommandCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for CommandCode
[src]
impl Debug for CommandCode
[src]
impl PartialEq for CommandCode
[src]
fn eq(&self, __arg_0: &CommandCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CommandCode) -> bool
This method tests for !=
.