From 64b941e3580b998df465db9982e89706b42b58d5 Mon Sep 17 00:00:00 2001 From: Sigma-dev Date: Thu, 29 Aug 2024 01:56:20 +0200 Subject: [PATCH] Made all callbacks public --- src/networking_messages.rs | 2 +- src/networking_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networking_messages.rs b/src/networking_messages.rs index 71d7b24..1f1257e 100644 --- a/src/networking_messages.rs +++ b/src/networking_messages.rs @@ -242,7 +242,7 @@ impl SessionRequestBuilder { } } -struct NetworkingMessagesSessionRequest { +pub struct NetworkingMessagesSessionRequest { remote: NetworkingIdentity, } diff --git a/src/networking_utils.rs b/src/networking_utils.rs index 6b9f49e..a19a49d 100644 --- a/src/networking_utils.rs +++ b/src/networking_utils.rs @@ -177,7 +177,7 @@ impl From for RelayNetworkStatus { } /// The relay network status callback. -struct RelayNetworkStatusCallback { +pub struct RelayNetworkStatusCallback { status: RelayNetworkStatus, }