Skip to content

Commit

Permalink
Able to unwrap while using reply with attachment.
Browse files Browse the repository at this point in the history
Signed-off-by: ChenYing Kuo <[email protected]>
  • Loading branch information
evshary committed Jan 24, 2024
1 parent b669489 commit a840a10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zenoh/src/queryable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl fmt::Display for Query {

/// A builder returned by [`Query::reply()`](Query::reply).
#[must_use = "Resolvables do nothing unless you resolve them using the `res` method from either `SyncResolve` or `AsyncResolve`"]
#[derive(Debug)]
pub struct ReplyBuilder<'a> {
query: &'a Query,
result: Result<Sample, Value>,
Expand Down

0 comments on commit a840a10

Please sign in to comment.