Open Tristramg opened 2 months ago
As defined in https://pyo3.rs/v0.22.2/conversions/tables#argument-types, &[u8] are mapped to "bytes"
I tried also to add Vec<u8> and Cow<u8>, however it conflicted with the definitions in collections.rs and I’m not sure what would be the right approach to it.
Vec<u8>
Cow<u8>
collections.rs
As defined in https://pyo3.rs/v0.22.2/conversions/tables#argument-types, &[u8] are mapped to "bytes"
I tried also to add
Vec<u8>
andCow<u8>
, however it conflicted with the definitions incollections.rs
and I’m not sure what would be the right approach to it.