Implement Decode, Encode and Type for Box, Arc, Cow and Rc#3674
Conversation
Decode, Encode and Type for Box, Arc, Cow and Rc
@joeydewaal technically it's still possible to use by getting the We can relax the |
676e11e to
f2930a6
Compare
|
Makes sense, I added the impl for |
|
CI should be fixed if you rebase. |
9d694c0 to
b6521ae
Compare
b59de52 to
3857c69
Compare
608908c to
c68cf4b
Compare
eb5b015 to
2da2978
Compare
2da2978 to
bf09881
Compare
abonander
left a comment
There was a problem hiding this comment.
If you wouldn't mind, let's just commit to making the Decode for Cow impl return Cow::Owned.
|
Right, that should be reflected in the latest changes. |
fixes #3100
Implements
Decode,EncodeandTypeforBox<T>,Arc<T>,Cow<'_,T>andRc<T>. I left out theDecodeimpl forRc<T>because of theSendtrait bounds inQueryAsandQueryScalar(which makes it impossible to useRc).