Enum hid_io_protocol::HidIoPacketType[][src]

pub enum HidIoPacketType {
    Data,
    Ack,
    Nak,
    Sync,
    Continued,
    NaData,
    NaContinued,
}

HID-IO Packet Types

Remarks

Must not be larger than 0x7, 7 is reserved.

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

impl Clone for HidIoPacketType[src]

impl Copy for HidIoPacketType[src]

impl Debug for HidIoPacketType[src]

impl Display for HidIoPacketType[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Display formatter for HidIoPacketType

impl PartialEq<HidIoPacketType> for HidIoPacketType[src]

impl StructuralPartialEq for HidIoPacketType[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.