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
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 beSay
(given by the.proto
), the filehell.rs
should probably have beenhello.rs
and is placed in foldersrc
. 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 senseHere is the repo github.com/anshulrgoyal/rust-grpc-...
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