pub enum HidppFeatureErrorKind {
NoError,
Unknown,
InvalidArgument,
OutOfRange,
HwError,
LogitechInternal,
InvalidFeatureIndex,
InvalidFunctionId,
Busy,
Unsupported,
Unrecognized,
}Expand description
HID++ feature error kind in a serializable wire-safe form.
Variant order is wire format because this travels inside WriteError.
Variants§
NoError
HID++ NoError code.
Unknown
Unknown HID++ error.
InvalidArgument
Invalid argument.
OutOfRange
Argument out of range.
HwError
Hardware error.
LogitechInternal
Logitech-internal firmware error.
InvalidFeatureIndex
Invalid feature index.
InvalidFunctionId
Invalid function ID.
Busy
Device is busy.
Unsupported
Operation is unsupported.
Unrecognized
Error code not modeled by OpenLogi.
Trait Implementations§
Source§impl Clone for HidppFeatureErrorKind
impl Clone for HidppFeatureErrorKind
Source§fn clone(&self) -> HidppFeatureErrorKind
fn clone(&self) -> HidppFeatureErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HidppFeatureErrorKind
Source§impl Debug for HidppFeatureErrorKind
impl Debug for HidppFeatureErrorKind
Source§impl<'de> Deserialize<'de> for HidppFeatureErrorKind
impl<'de> Deserialize<'de> for HidppFeatureErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HidppFeatureErrorKind
Source§impl PartialEq for HidppFeatureErrorKind
impl PartialEq for HidppFeatureErrorKind
Source§impl Serialize for HidppFeatureErrorKind
impl Serialize for HidppFeatureErrorKind
impl StructuralPartialEq for HidppFeatureErrorKind
Auto Trait Implementations§
impl Freeze for HidppFeatureErrorKind
impl RefUnwindSafe for HidppFeatureErrorKind
impl Send for HidppFeatureErrorKind
impl Sync for HidppFeatureErrorKind
impl Unpin for HidppFeatureErrorKind
impl UnsafeUnpin for HidppFeatureErrorKind
impl UnwindSafe for HidppFeatureErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.