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
sourceimpl Clone for HardwareCapabilities
impl Clone for HardwareCapabilities
sourcefn clone(&self) -> HardwareCapabilities
fn clone(&self) -> HardwareCapabilities
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 HardwareCapabilities
impl Debug for HardwareCapabilities
sourceimpl Ord for HardwareCapabilities
impl Ord for HardwareCapabilities
sourceimpl PartialEq<HardwareCapabilities> for HardwareCapabilities
impl PartialEq<HardwareCapabilities> for HardwareCapabilities
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &HardwareCapabilities) -> bool
fn ne(&self, other: &HardwareCapabilities) -> bool
This method tests for !=
.
sourceimpl PartialOrd<HardwareCapabilities> for HardwareCapabilities
impl PartialOrd<HardwareCapabilities> for HardwareCapabilities
sourcefn partial_cmp(&self, other: &HardwareCapabilities) -> Option<Ordering>
fn partial_cmp(&self, other: &HardwareCapabilities) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for HardwareCapabilities
impl Eq for HardwareCapabilities
impl StructuralEq for HardwareCapabilities
impl StructuralPartialEq for HardwareCapabilities
Auto Trait Implementations
impl RefUnwindSafe for HardwareCapabilities
impl Send for HardwareCapabilities
impl Sync for HardwareCapabilities
impl Unpin for HardwareCapabilities
impl UnwindSafe for HardwareCapabilities
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more