I think it would make sense for the *Driver callbacks to use owned parameters rather than references (slices). This way they can be e.g. sent via mpsc::channel without another allocation, e.g. to_vec().
I'm not the most experienced with Rust so I'm very open to feedback and further guidance.
Related: #401
I think it would make sense for the *Driver callbacks to use owned parameters rather than references (slices). This way they can be e.g. sent via
mpsc::channel
without another allocation, e.g.to_vec()
.I'm not the most experienced with Rust so I'm very open to feedback and further guidance.