How to use internal mutability with generic type

后端 未结 0 1657
北海茫月
北海茫月 2021-01-19 06:13

I would like to design a struct in Rust that can be constructed with an object that implements the Digest trait, and abstract the behavior of the hash behind a method. Here\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题