From ed011cf8945581bb3cce8cbaa286968322c5abff Mon Sep 17 00:00:00 2001 From: Michael Ilyin Date: Mon, 9 Sep 2024 18:54:04 +0200 Subject: [PATCH] reexporting methods from QoSBuilderTrait added --- zenoh/src/api/query.rs | 1 + zenoh/src/api/queryable.rs | 1 + zenoh/src/api/sample.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/zenoh/src/api/query.rs b/zenoh/src/api/query.rs index 1e5efee48f..922f88e1a4 100644 --- a/zenoh/src/api/query.rs +++ b/zenoh/src/api/query.rs @@ -228,6 +228,7 @@ impl SampleBuilderTrait for SessionGetBuilder<'_, '_, Handler> { } } +#[zenoh_macros::internal_trait] impl QoSBuilderTrait for SessionGetBuilder<'_, '_, DefaultHandler> { fn congestion_control(self, congestion_control: CongestionControl) -> Self { let qos = self.qos.congestion_control(congestion_control); diff --git a/zenoh/src/api/queryable.rs b/zenoh/src/api/queryable.rs index 88c375c11f..92d27ffa87 100644 --- a/zenoh/src/api/queryable.rs +++ b/zenoh/src/api/queryable.rs @@ -329,6 +329,7 @@ impl SampleBuilderTrait for ReplyBuilder<'_, '_, T> { } } +#[zenoh_macros::internal_trait] impl QoSBuilderTrait for ReplyBuilder<'_, '_, T> { fn congestion_control(self, congestion_control: CongestionControl) -> Self { let qos = self.qos.congestion_control(congestion_control); diff --git a/zenoh/src/api/sample.rs b/zenoh/src/api/sample.rs index 253e98d4b5..482a33382d 100644 --- a/zenoh/src/api/sample.rs +++ b/zenoh/src/api/sample.rs @@ -421,6 +421,7 @@ impl From for QoS { } } +#[zenoh_macros::internal_trait] impl QoSBuilderTrait for QoSBuilder { fn congestion_control(self, congestion_control: CongestionControl) -> Self { let mut inner = self.0.inner;