We can replace the usage of Device in database.rs and client_service.rs with the code generated DeviceType enum.
This reduces code duplication as we have implemented Display and TryFrom traits in shared.
Details
Details
Wrote basic unit tests utilizing try_from in database.rs and cargo builds
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- wyilio/replace_device_enum
- Lint
No Lint Coverage - Unit
No Test Coverage