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