Closed hacknus closed 6 months ago
Thanks for the PR, I think it makes sense to add this!
I think it's better if the Display
implementation to use the same format as the serde::Serialize
implementation. So CharSize
and StopBits
should just delegate to the Display
implementation of u8
and Parity
and FlowControl
should use the same strings as the serialization.
Yes, that's a great input, I applied some changes.
Makes sense! Thanks for the PR!
Released with v0.2.13
! :rocket:
Implementing Display for CharSize, StopBits, Parity and FlowControl can be useful for using
serial2-rs
in a GUI.