HomePhabricator
Diffusion Comm 2a895ae97c6b

[services] Tunnelbroker - Using `rust::notifications` namespace for calling…

Description

[services] Tunnelbroker - Using rust::notifications namespace for calling Rust from C++

Summary:
This diff introduces changes using the rust::notifications namespace for calling Rust notification functions from C++.

At the moment in Tunnelbroker, we are calling the Rust function without using namespaces. The Rust functions are exposed as global to C++. The better way is to use namespaces in Rust code to expose it to C++ codebase.

Related Linear task: ENG-1894

Test Plan:

  1. Service successfully built.
  2. Tests passed.

Reviewers: jon, michal, marcin, tomek

Reviewed By: jon, marcin, tomek

Subscribers: marcin, ashoat, tomek, atul, abosh

Differential Revision: https://phab.comm.dev/D5263

Details