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'd like to use it with this crate, but the DeserializeOwned bound gets in the way.
I think the issue is that deserialization goes through Document, which in turn requires ownership of strings etc. inside it. Is that correct, and if so could that be mitigated by having a bson::borrow::Bson which points into a backing &'a [u8]?
The text was updated successfully, but these errors were encountered:
Hi Ted, just wanted to follow up to let you know this is still on our radar. We'll be taking a deeper look after we wrap up the work and conversation on #229
I have a struct like this:
I'd like to use it with this crate, but the
DeserializeOwned
bound gets in the way.I think the issue is that deserialization goes through
Document
, which in turn requires ownership of strings etc. inside it. Is that correct, and if so could that be mitigated by having abson::borrow::Bson
which points into a backing&'a [u8]
?The text was updated successfully, but these errors were encountered: