logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

std::any Provide and Demant API use case?

41 points NeoCiber 2022-09-11 20:55:08
View on Reddit ↗

I was reading into the rust docs and I found this new API:

https://doc.rust-lang.org/nightly/std/any/index.html#provider-and-demand

​

And I can't really undestand what is the use case of those, In what situation I would need to use that new API?

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com