Struct ecu_diagnostics::hardware::HardwareCapabilities
source · pub struct HardwareCapabilities {
pub iso_tp: bool,
pub can: bool,
pub kline: bool,
pub kline_kwp: bool,
pub sae_j1850: bool,
pub sci: bool,
pub ip: bool,
}
Expand description
Contains details about what communication protocols are supported by the physical hardware
Fields§
§iso_tp: bool
Supports ISO-TP
can: bool
Supports CANBUS
kline: bool
Supports standard Kline OBD (ISO9141)
kline_kwp: bool
Supports KWP2000 over Kline (ISO14230)
sae_j1850: bool
Supports J1850 VPW and J180 PWM
sci: bool
Supports Chryslers serial communication interface
ip: bool
Supports IP protocols (Diagnostic Over IP)
Trait Implementations§
source§impl Clone for HardwareCapabilities
impl Clone for HardwareCapabilities
source§fn clone(&self) -> HardwareCapabilities
fn clone(&self) -> HardwareCapabilities
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 HardwareCapabilities
impl Debug for HardwareCapabilities
source§impl Ord for HardwareCapabilities
impl Ord for HardwareCapabilities
source§fn cmp(&self, other: &HardwareCapabilities) -> Ordering
fn cmp(&self, other: &HardwareCapabilities) -> 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 HardwareCapabilities
impl PartialEq for HardwareCapabilities
source§fn eq(&self, other: &HardwareCapabilities) -> bool
fn eq(&self, other: &HardwareCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HardwareCapabilities
impl PartialOrd for HardwareCapabilities
source§fn partial_cmp(&self, other: &HardwareCapabilities) -> Option<Ordering>
fn partial_cmp(&self, other: &HardwareCapabilities) -> 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 HardwareCapabilities
impl Eq for HardwareCapabilities
impl StructuralPartialEq for HardwareCapabilities
Auto Trait Implementations§
impl Freeze for HardwareCapabilities
impl RefUnwindSafe for HardwareCapabilities
impl Send for HardwareCapabilities
impl Sync for HardwareCapabilities
impl Unpin for HardwareCapabilities
impl UnwindSafe for HardwareCapabilities
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