Struct hid_io_protocol::commands::h0001::Ack[][src]

pub struct Ack<S: ArrayLength<u8>> {
    pub property: Property,
    pub os: OsType,
    pub number: u16,
    pub string: String<S>,
}

Fields

property: Propertyos: OsType

OS Type field

number: u16

Number is set when the given property specifies a number

string: String<S>

String is set when the given property specifies a string Should be 1 byte less than the max hidio data buffer size

Trait Implementations

impl<S: Clone + ArrayLength<u8>> Clone for Ack<S>[src]

impl<S: Debug + ArrayLength<u8>> Debug for Ack<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Ack<S> where
    <S as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<S> Send for Ack<S>

impl<S> Sync for Ack<S>

impl<S> Unpin for Ack<S> where
    <S as ArrayLength<u8>>::ArrayType: Unpin

impl<S> UnwindSafe for Ack<S> where
    <S as ArrayLength<u8>>::ArrayType: UnwindSafe

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, 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.