Skip to content

Commit 658cdd9

Browse files
authored
Merge pull request #1385 from eclipse-zenoh/scaffolding_followup
reexporting methods from QoSBuilderTrait added
2 parents f9260bb + 20821f3 commit 658cdd9

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

zenoh/src/api/query.rs

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ impl<Handler> SampleBuilderTrait for SessionGetBuilder<'_, '_, Handler> {
228228
}
229229
}
230230

231+
#[zenoh_macros::internal_trait]
231232
impl QoSBuilderTrait for SessionGetBuilder<'_, '_, DefaultHandler> {
232233
fn congestion_control(self, congestion_control: CongestionControl) -> Self {
233234
let qos = self.qos.congestion_control(congestion_control);

zenoh/src/api/queryable.rs

+1
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ impl<T> SampleBuilderTrait for ReplyBuilder<'_, '_, T> {
329329
}
330330
}
331331

332+
#[zenoh_macros::internal_trait]
332333
impl<T> QoSBuilderTrait for ReplyBuilder<'_, '_, T> {
333334
fn congestion_control(self, congestion_control: CongestionControl) -> Self {
334335
let qos = self.qos.congestion_control(congestion_control);

zenoh/src/api/sample.rs

+1
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ impl From<QoSBuilder> for QoS {
421421
}
422422
}
423423

424+
#[zenoh_macros::internal_trait]
424425
impl QoSBuilderTrait for QoSBuilder {
425426
fn congestion_control(self, congestion_control: CongestionControl) -> Self {
426427
let mut inner = self.0.inner;

0 commit comments

Comments
 (0)