DEV Community

Discussion on: A beginners guide to gRPC with Rust

Collapse
 
mikkelhjuul profile image
MikkelHJuul

He would have to add it, because it doesn't seem to be on his github.
for some small points, the name of the impl has to be Say (given by the .proto), the file hell.rs should probably have been hello.rs and is placed in folder src. This is my findings so far.
This should bring you to a state where if you have not added anything to your implementation the compiler will spit at you: not all trait items implemented, missing: ... which makes perfect sense

Collapse
 
anshulgoyal15 profile image
Anshul Goyal
Thread Thread
 
naveendavis11 profile image
Naveen Davis

I was using 2 bin. But
hello module is not getting imported to client.rs.

My src folder structure
client.rs
server.rs
hello.rs

Not sure whether I need to make lib.rs