Enum ar_drivers::Error
source · pub enum Error {
IoError(Error),
UsbError(Error),
SerialPortError(Error),
NotFound,
Other(&'static str),
}
Expand description
Possible errors resulting from ar-drivers
API calls
Variants§
IoError(Error)
A standard IO error happened. See std::io::Error
for specifics
UsbError(Error)
An rusb error happened. See rusb::Error
for specifics
SerialPortError(Error)
A serialport error happened. See serialport::Error
for specifics
NotFound
No glasses were found.
Other(&'static str)
Other fatal error, usually a problem with the library itself, or a device support issue. File a bug if you encounter this.