pub fn to_serial_response_error(err: Error) -> SerialResponse {
  SerialResponse::Error {
    description: err.description().to_string(),
    display: format!("{}", err),
  }
}
/// Convert Error to serial response error enum type
Convert Error to serial response error enum type
Convert Error to serial response error enum type
pub fn to_serial_response_error(err: Error) -> SerialResponse {
  SerialResponse::Error {
    description: err.description().to_string(),
    display: format!("{}", err),
  }
}
pub fn to_serial_response_error ( err : Error ) -> SerialResponse { SerialResponse :: Error { description : err . description ( ) . to_string ( ) , display : format ! ( " " err ) , } }
Convert Error to serial response error enum type
Convert Error to serial response error enum type
err
Error
err
Error