Enum libftd2xx::FtStatus [−][src]
#[repr(u32)] pub enum FtStatus {}Show variants
INVALID_HANDLE, DEVICE_NOT_FOUND, DEVICE_NOT_OPENED, IO_ERROR, INSUFFICIENT_RESOURCES, INVALID_PARAMETER, INVALID_BAUD_RATE, DEVICE_NOT_OPENED_FOR_ERASE, DEVICE_NOT_OPENED_FOR_WRITE, FAILED_TO_WRITE_DEVICE, EEPROM_READ_FAILED, EEPROM_WRITE_FAILED, EEPROM_ERASE_FAILED, EEPROM_NOT_PRESENT, EEPROM_NOT_PROGRAMMED, INVALID_ARGS, NOT_SUPPORTED, OTHER_ERROR, DEVICE_LIST_NOT_READY,
Expand description
These are the C API error codes.
Unfortunately there are provided in the C API as self documenting, which they are for the most part.
This is the most common error in this crate, majority of functions and
methods will return this in the Result
.
This is also used in the TimeoutError
, and DeviceTypeError
enumerations.
Variants
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FtStatus
impl UnwindSafe for FtStatus
Blanket Implementations
Mutably borrows from an owned value. Read more