Enum libftd2xx::DeviceTypeError [−][src]
pub enum DeviceTypeError { FtStatus(FtStatus), DeviceType { expected: DeviceType, detected: DeviceType, }, }
Expand description
Device type errors.
This is the error used by TryFrom
trait for FTDI devices.
Variants
FtStatus(FtStatus)
FTDI status errors.
Device type errors.
Show fields
Fields of DeviceType
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceTypeError
impl Send for DeviceTypeError
impl Sync for DeviceTypeError
impl Unpin for DeviceTypeError
impl UnwindSafe for DeviceTypeError
Blanket Implementations
Mutably borrows from an owned value. Read more