aerospike / aerospike-client-rust

Rust client for the Aerospike database
https://www.aerospike.com/
Other
82 stars 29 forks source link

Use generic types to make client API more flexible #49

Closed jhecking closed 6 years ago

jhecking commented 6 years ago

As per #47 and this rust-lang forum thread any client API that takes &[&Bin] could be improved by taking &[A] where A: AsRef<Bin> instead.

jhecking commented 6 years ago

Follow-up discussion on the rust-lang forum: https://users.rust-lang.org/t/generic-types-with-lifetimes/20142/11.