Split some files and add more documentation

This commit is contained in:
Robert Sammelson 2023-05-15 20:10:01 -04:00
parent 877722ed1b
commit cd0242b796
No known key found for this signature in database
GPG key ID: 92F1F04EDB06B9E9
8 changed files with 216 additions and 154 deletions

View file

@ -2,6 +2,10 @@ use log::{debug, trace};
use super::{device::Obd2BaseDevice, Error, Obd2Device, Result};
/// An OBD-II interface
///
/// Wraps an implementor of [Obd2BaseDevice] to allow for higher-level usage of the OBD-II
/// interface.
#[derive(Default)]
pub struct Obd2<T: Obd2BaseDevice> {
device: T,