#[repr(C)]pub struct DiagServerBasicOptions {
pub send_id: u32,
pub recv_id: u32,
pub timeout_cfg: TimeoutConfig,
}
Expand description
Basic diagnostic server options
Fields§
§send_id: u32
ECU Send ID
recv_id: u32
ECU Receive ID
timeout_cfg: TimeoutConfig
Timeout config
Trait Implementations§
source§impl Clone for DiagServerBasicOptions
impl Clone for DiagServerBasicOptions
source§fn clone(&self) -> DiagServerBasicOptions
fn clone(&self) -> DiagServerBasicOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiagServerBasicOptions
impl Debug for DiagServerBasicOptions
source§impl Ord for DiagServerBasicOptions
impl Ord for DiagServerBasicOptions
source§fn cmp(&self, other: &DiagServerBasicOptions) -> Ordering
fn cmp(&self, other: &DiagServerBasicOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DiagServerBasicOptions
impl PartialEq for DiagServerBasicOptions
source§fn eq(&self, other: &DiagServerBasicOptions) -> bool
fn eq(&self, other: &DiagServerBasicOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DiagServerBasicOptions
impl PartialOrd for DiagServerBasicOptions
source§fn partial_cmp(&self, other: &DiagServerBasicOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &DiagServerBasicOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DiagServerBasicOptions
impl Eq for DiagServerBasicOptions
impl StructuralPartialEq for DiagServerBasicOptions
Auto Trait Implementations§
impl Freeze for DiagServerBasicOptions
impl RefUnwindSafe for DiagServerBasicOptions
impl Send for DiagServerBasicOptions
impl Sync for DiagServerBasicOptions
impl Unpin for DiagServerBasicOptions
impl UnwindSafe for DiagServerBasicOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more