Closed ibotty closed 1 year ago
Hi, the derive macro doesn't know how to transform a stream of data to a custom type so implementing TryFromChunks
is unavoidable.
In this case the implementation would be really easy given that you can get the value by using String::TryFromChunks
and wrap it.
When I have e.g.
It complains that
MyNewtype
does not implementTryFromChunks
. How can I use a newtype without writing a custom implementation?