pub type UartResult<T> = Result<T, UartError>;
pub enum UartResult<T> { Ok(T), Err(UartError), }
Contains the success value
Contains the error value