You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I'm doing a custom decoding (from bytes), and would like to use a serde::de::DeserializeSeed. However this is impossible, because the raw Deserializer is hidden behind methods like from_reader().
Could a raw (bytes) Deserializer be made public?
The text was updated successfully, but these errors were encountered:
As far as I can tell, The only Deserializer made public through the API is one that reads from a pre-parse BSON value:
https://docs.rs/bson/2.14.0/bson/struct.Deserializer.html
I have a use case where I'm doing a custom decoding (from bytes), and would like to use a serde::de::DeserializeSeed. However this is impossible, because the raw Deserializer is hidden behind methods like from_reader().
Could a raw (bytes) Deserializer be made public?
The text was updated successfully, but these errors were encountered: