Struct ecu_diagnostics::obd2::Service09
source · pub struct Service09<'a> { /* private fields */ }
Expand description
Service 09 wrapper for OBD
Implementations§
source§impl<'a> Service09<'a>
impl<'a> Service09<'a>
sourcepub fn get_supported_sids(&self) -> Vec<Service09PidByte>
pub fn get_supported_sids(&self) -> Vec<Service09PidByte>
Returns a list of supported PIDs supported by the ECU for service 01
sourcepub fn read_vin(&self) -> DiagServerResult<String>
pub fn read_vin(&self) -> DiagServerResult<String>
Reads the ECU’s stored VIN
sourcepub fn read_calibration_id(&self) -> DiagServerResult<Vec<String>>
pub fn read_calibration_id(&self) -> DiagServerResult<Vec<String>>
Reads the vehicles stored calibration ID (More than 1 may be returned)
sourcepub fn read_cvn(&self) -> DiagServerResult<Vec<String>>
pub fn read_cvn(&self) -> DiagServerResult<Vec<String>>
Reads the vehicles stored calibration verification number (More than 1 may be returned)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Service09<'a>
impl<'a> !RefUnwindSafe for Service09<'a>
impl<'a> Send for Service09<'a>
impl<'a> Sync for Service09<'a>
impl<'a> Unpin for Service09<'a>
impl<'a> !UnwindSafe for Service09<'a>
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