Skip to content

Commit

Permalink
Merge pull request #1385 from eclipse-zenoh/scaffolding_followup
Browse files Browse the repository at this point in the history
reexporting methods from QoSBuilderTrait added
  • Loading branch information
milyin authored Sep 9, 2024
2 parents f9260bb + 20821f3 commit 658cdd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions zenoh/src/api/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ impl<Handler> 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);
Expand Down
1 change: 1 addition & 0 deletions zenoh/src/api/queryable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ impl<T> SampleBuilderTrait for ReplyBuilder<'_, '_, T> {
}
}

#[zenoh_macros::internal_trait]
impl<T> QoSBuilderTrait for ReplyBuilder<'_, '_, T> {
fn congestion_control(self, congestion_control: CongestionControl) -> Self {
let qos = self.qos.congestion_control(congestion_control);
Expand Down
1 change: 1 addition & 0 deletions zenoh/src/api/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ impl From<QoSBuilder> for QoS {
}
}

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

0 comments on commit 658cdd9

Please sign in to comment.