Enum hid_io_protocol::HidIoPacketType
source · pub enum HidIoPacketType {
Data,
Ack,
Nak,
Sync,
Continued,
NaData,
NaContinued,
}
Expand description
Variants§
Data
Data packet
Ack
Ack packet
Nak
Nak packet
Sync
Sync packet
Continued
Continued packet
NaData
No acknowledgement data packet
NaContinued
No acknowledgement continued packet
Trait Implementations§
source§impl Clone for HidIoPacketType
impl Clone for HidIoPacketType
source§fn clone(&self) -> HidIoPacketType
fn clone(&self) -> HidIoPacketType
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 HidIoPacketType
impl Debug for HidIoPacketType
source§impl Display for HidIoPacketType
impl Display for HidIoPacketType
source§impl PartialEq<HidIoPacketType> for HidIoPacketType
impl PartialEq<HidIoPacketType> for HidIoPacketType
source§fn eq(&self, other: &HidIoPacketType) -> bool
fn eq(&self, other: &HidIoPacketType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HidIoPacketType
impl Eq for HidIoPacketType
impl StructuralEq for HidIoPacketType
impl StructuralPartialEq for HidIoPacketType
Auto Trait Implementations§
impl RefUnwindSafe for HidIoPacketType
impl Send for HidIoPacketType
impl Sync for HidIoPacketType
impl Unpin for HidIoPacketType
impl UnwindSafe for HidIoPacketType
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