[][src]Enum corsairmi::OpenError

pub enum OpenError {
    Io(Error),
    InvalidVendorId(u16),
    InvalidProductId(u16),
}

Power supply error.

Variants

Io(Error)

IO error.

InvalidVendorId(u16)

Invalid vendor ID.

The inner value is the invalid vendor ID received.

InvalidProductId(u16)

Invalid product ID.

The inner value is the invalid product ID received.

Trait Implementations

impl Debug for OpenError[src]

impl Display for OpenError[src]

impl Error for OpenError[src]

impl From<Error> for OpenError[src]

Auto Trait Implementations

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