basic reflection question/how-to #641
-
Hello, I'm coming from the world of Golang and have made use of its protoreflect and protoregistry packages. In particular, I've used them to achieve the following (respectively):
I'm very interested by Rust, but am extremely new to it. I have a project I'm working on in Golang where I am doing these things, but I thought about attempting to rewrite it in Rust. The ability to do the two things mentioned above is pretty core to the project. I've taken a look at the documentation and have done some googling, but I really haven't managed to find out how to accomplish the two above tasks in my searches. Could someone provide some insight into how I could tackle those items? Of course for the latter item I'd like to know how to convert an array of bytes to the corresponding Rust type (given the FQDN). Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you explain what a FQDN is? This is mostly the right place though we also have a discord channel at https://discord.gg/tokio |
Beta Was this translation helpful? Give feedback.
Could you explain what a FQDN is?
This is mostly the right place though we also have a discord channel at https://discord.gg/tokio