pub type UartResult<T> = Result<T, UartError>;
Errors that occur while reading from and writing to stream