[rust-node-addon] add client method to call getInboundKeysForUser
Summary:
client method calls the mentioned Identity service RPC. we return the keys specific to the device ID provided.
The error handling can be further improved later. For now I'm just returning Generic errors and logging appropriately.
Test Plan:
- called the new client method from keyserver.js after writing some test data to DDB. i got back the keys as expected.
- tried calling the method with an invalid device ID and got an error.
- tried calling the method with an invalid username and got an error.
- tried calling the method with a malformed identifier_type string ("usernam") and got an error
Reviewers: bartek
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D8930