Enum hid_io_protocol::commands::CommandError[][src]

pub enum CommandError {
    BufferInUse,
    BufferNotReady,
    CallbackFailed,
    DataVecNoData,
    DataVecTooSmall,
    IdNotImplemented(HidIoCommandIdHidIoPacketType),
    IdNotMatched(HidIoCommandId),
    IdNotSupported(HidIoCommandId),
    IdVecTooSmall,
    InvalidCStr,
    InvalidId(u32),
    InvalidPacketBufferType(HidIoPacketType),
    InvalidProperty8(u8),
    InvalidRxMessage(HidIoPacketType),
    InvalidUtf8(Utf8Error),
    PacketDecodeError(HidIoParseError),
    RxFailed,
    RxTimeout,
    RxTooManySyncs,
    SerializationFailed(HidIoParseError),
    SerializationVecTooSmall,
    TestFailure,
    TxBufferSendFailed,
    TxBufferVecTooSmall,
    TxNoActiveReceivers,
}

Variants

BufferInUse
BufferNotReady
CallbackFailed
DataVecNoData
DataVecTooSmall
IdNotImplemented(HidIoCommandIdHidIoPacketType)
IdNotMatched(HidIoCommandId)
IdNotSupported(HidIoCommandId)
IdVecTooSmall
InvalidCStr
InvalidId(u32)
InvalidPacketBufferType(HidIoPacketType)
InvalidProperty8(u8)
InvalidRxMessage(HidIoPacketType)
InvalidUtf8(Utf8Error)
PacketDecodeError(HidIoParseError)
RxFailed
RxTimeout
RxTooManySyncs
SerializationFailed(HidIoParseError)
SerializationVecTooSmall
TestFailure
TxBufferSendFailed
TxBufferVecTooSmall
TxNoActiveReceivers

Trait Implementations

impl Debug for CommandError[src]

Auto Trait Implementations

impl RefUnwindSafe for CommandError

impl Send for CommandError

impl Sync for CommandError

impl Unpin for CommandError

impl UnwindSafe for CommandError

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