f8c4812
f810459
#3
They could coexists with ByteBuf::from and ByteBuf::into_vec if you think these functions are clearer in documentation. I never had problems with looking for From trait implementations.
Now is not possible to use it with generic functions which uses things like T: From<Vec<u8>>. There is reason why there are traits like From trait in rust.
And solution to problems like this #14 require even more extra glue code as before.
f8c4812
f810459
#3
They could coexists with ByteBuf::from and ByteBuf::into_vec if you think these functions are clearer in documentation. I never had problems with looking for From trait implementations.
Now is not possible to use it with generic functions which uses things like
T: From<Vec<u8>>. There is reason why there are traits like From trait in rust.And solution to problems like this #14 require even more extra glue code as before.