Struct ecu_diagnostics::kwp2000::Kwp2000ServerOptions[][src]

#[repr(C)]
pub struct Kwp2000ServerOptions { pub send_id: u32, pub recv_id: u32, pub read_timeout_ms: u32, pub write_timeout_ms: u32, pub global_tp_id: u32, pub tester_present_interval_ms: u32, pub tester_present_require_response: bool, }
Expand description

KWP2000 server options

Fields

send_id: u32

ECU Send ID

recv_id: u32

ECU Receive ID

read_timeout_ms: u32

Read timeout in ms

write_timeout_ms: u32

Write timeout in ms

global_tp_id: u32

Optional global address to send tester-present messages to Set to 0 if not in use

tester_present_interval_ms: u32

Tester present minimum send interval in ms

tester_present_require_response: bool

Configures if the diagnostic server will poll for a response from tester present.

Trait Implementations

Gets the write timeout for sending messages to the servers channel

Gets the read timeout for reading response messages from the servers channel

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. 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.