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;