pub type Result<T> = Result<T, Error>;
A type for results generated by interacting with serial ports
The Err type is hard-wired to serialport::Error.
Err
serialport::Error
enum Result<T> { Ok(T), Err(Error), }
Contains the success value
Contains the error value