Enum etherdream::protocol::AckCode
[−]
[src]
pub enum AckCode { Ack, NackBufferFull, NackInvalid, NackStop, NackUnknown { code: u8, }, }
Ack or Nack Responses.
Variants
Ack
NackBufferFull
NackInvalid
NackStop
NackUnknown
Fields of NackUnknown
code: u8 |
Methods
impl AckCode
[src]
fn parse(byte: u8) -> AckCode
[src]
fn is_ack(&self) -> bool
[src]
Whether or not the code is a successful ACK.
Trait Implementations
impl Clone for AckCode
[src]
fn clone(&self) -> AckCode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more