Skip to content

Commit

Permalink
reexporting methods from QoSBuilderTrait added
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin authored and fuzzypixelz committed Sep 23, 2024
1 parent 7519655 commit ed011cf
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 ed011cf

Please sign in to comment.