pub struct HardwareVersion(_);
Expand description

A hardware version returned by JayLink::read_hardware_version.

Note that the reported hardware version does not allow reliable feature detection, since embedded J-Link probes might return a hardware version of 1.0.0 despite supporting SWD and other much newer features.

Implementations

Returns the type of hardware (or None if the hardware type is unknown).

The major version.

The minor version.

The hardware revision.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.