Struct ecu_diagnostics::uds::UdsServerOptions
source · [−]#[repr(C)]pub struct UdsServerOptions {
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
UDS 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
sourceimpl BaseServerSettings for UdsServerOptions
impl BaseServerSettings for UdsServerOptions
sourcefn get_write_timeout_ms(&self) -> u32
fn get_write_timeout_ms(&self) -> u32
Gets the write timeout for sending messages to the servers channel
sourcefn get_read_timeout_ms(&self) -> u32
fn get_read_timeout_ms(&self) -> u32
Gets the read timeout for reading response messages from the servers channel
sourceimpl Clone for UdsServerOptions
impl Clone for UdsServerOptions
sourcefn clone(&self) -> UdsServerOptions
fn clone(&self) -> UdsServerOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UdsServerOptions
impl Debug for UdsServerOptions
impl Copy for UdsServerOptions
Auto Trait Implementations
impl RefUnwindSafe for UdsServerOptions
impl Send for UdsServerOptions
impl Sync for UdsServerOptions
impl Unpin for UdsServerOptions
impl UnwindSafe for UdsServerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more