diff --git a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs --- a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs +++ b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs @@ -98,12 +98,6 @@ } } -#[derive(Debug)] -enum AuthType { - Password = 0, - Wallet = 1, -} - #[derive(Debug)] struct Client { identity_client: IdentityServiceClient, @@ -636,21 +630,6 @@ } } -struct RegistrationResponseAndSender { - response: Option, - sender: mpsc::Sender, -} - -struct LoginResponseAndSender { - response: Option, - sender: mpsc::Sender, -} - -enum ResponseAndSender { - Registration(RegistrationResponseAndSender), - Login(LoginResponseAndSender), -} - async fn send_to_mpsc( tx: mpsc::Sender, request: T,