diff options
Diffstat (limited to 'jsonrpc/src/server/channel.rs')
-rw-r--r-- | jsonrpc/src/server/channel.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jsonrpc/src/server/channel.rs b/jsonrpc/src/server/channel.rs index 9278c8c..b5c9184 100644 --- a/jsonrpc/src/server/channel.rs +++ b/jsonrpc/src/server/channel.rs @@ -4,6 +4,7 @@ use karyon_core::{async_runtime::lock::Mutex, util::random_32}; use crate::{message::SubscriptionID, Error, Result}; +#[derive(Debug)] pub(crate) struct NewNotification { pub sub_id: SubscriptionID, pub result: serde_json::Value, @@ -20,7 +21,7 @@ pub struct Subscription { } impl Subscription { - /// Creates a new `Subscription` + /// Creates a new [`Subscription`] fn new( parent: Arc<Channel>, id: SubscriptionID, |