Struct ecu_diagnostics::hardware::passthru::PassthruDevice[][src]

pub struct PassthruDevice { /* fields omitted */ }
Expand description

Passthru device

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Creates an ISO-TP channel on the devices. This channel will live for as long as the hardware trait. Upon being dropped, the channel will automatically be closed, if it has been opened. Read more

Creates a CAN Channel on the devices. This channel will live for as long as the hardware trait. Upon being dropped, the channel will automatically be closed, if it has been opened. Read more

Tries to read battery voltage from Pin 16 of an OBD port (+12V). This is mainly used by diagnostic adapters, and is purely optional Should the adapter not support this feature, std::option::Option::None is returned Read more

Returns a list of hardware capabilities

Lists all scanned devices. This does not necessarily mean that the hardware can be used, just that the system known it exists. For instance, Passthru API uses the registry to scan for devices, but these devices might not actually be plugged into the computer at the time of the request Read more

Tries to open a device by a specific index from the [list_devices] function.

Tries to open a device given the devices name

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.

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.