prefmt
This commit is contained in:
parent
6effd4f1a8
commit
e941cf8bc8
5 changed files with 22 additions and 100 deletions
|
|
@ -1,7 +1,10 @@
|
|||
//! Lower level OBD-II interfacing structures
|
||||
|
||||
mod elm327;
|
||||
pub use elm327::{Elm327, SerialPort, FTDIDevice};
|
||||
pub use elm327::Elm327;
|
||||
|
||||
mod serial_comm;
|
||||
pub use serial_comm::{SerialPort, FTDIDevice};
|
||||
|
||||
type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
|
|
@ -54,6 +57,7 @@ pub enum Error {
|
|||
#[error("FTDI error: `{0:?}`")]
|
||||
Ftdi(ftdi::Error),
|
||||
|
||||
/// An error with the underlying [serialport device](serialport::SerialPort)
|
||||
#[error("Serialport error: `{0:?}`")]
|
||||
Serialport(serialport::Error),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue