Enum logitech_lcd::Error [] [src]

pub enum Error {
    NotConnected,
    Initialization,
    MonoBackground,
    MonoText,
    ColorBackground,
    ColorTitle,
    ColorText,
    NullCharacter,
    LoadLibrary(Error),
}

Runtime LCD error

The underling Logitech LCD/GamePanel SDK does unfortunately not return any info on error. We therefore only able report what function failed, but not why.

Variants

A logitech LCD is not connected to the system.

FFI call to LogiLcdInit() in LogitechLcd.dll has failed.

FFI call to LogiLcdMonoSetBackground() in LogitechLcd.dll has failed.

FFI call to LogiLcdMonoSetText() in LogitechLcd.dll has failed.

FFI call to LogiLcdColorSetBackground() in LogitechLcd.dll has failed.

FFI call to LogiLcdColorSetTitle() in LogitechLcd.dll has failed.

FFI call to LogiLcdColorSetText() in LogitechLcd.dll has failed.

Unexpected NULL character

Failed to load LogitechLcd.dll.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error