diff --git a/zenoh/src/info.rs b/zenoh/src/info.rs index e299d4aeed..848a5cb68b 100644 --- a/zenoh/src/info.rs +++ b/zenoh/src/info.rs @@ -32,6 +32,7 @@ use zenoh_protocol::core::{WhatAmI, ZenohId}; /// # }) /// ``` #[must_use = "Resolvables do nothing unless you resolve them using the `res` method from either `SyncResolve` or `AsyncResolve`"] +#[derive(Debug)] pub struct ZidBuilder<'a> { pub(crate) session: SessionRef<'a>, } @@ -69,6 +70,7 @@ impl<'a> AsyncResolve for ZidBuilder<'a> { /// # }) /// ``` #[must_use = "Resolvables do nothing unless you resolve them using the `res` method from either `SyncResolve` or `AsyncResolve`"] +#[derive(Debug)] pub struct RoutersZidBuilder<'a> { pub(crate) session: SessionRef<'a>, } @@ -115,6 +117,7 @@ impl<'a> AsyncResolve for RoutersZidBuilder<'a> { /// # }) /// ``` #[must_use = "Resolvables do nothing unless you resolve them using the `res` method from either `SyncResolve` or `AsyncResolve`"] +#[derive(Debug)] pub struct PeersZidBuilder<'a> { pub(crate) session: SessionRef<'a>, } diff --git a/zenoh/src/queryable.rs b/zenoh/src/queryable.rs index 914684f76f..b602ba670b 100644 --- a/zenoh/src/queryable.rs +++ b/zenoh/src/queryable.rs @@ -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, diff --git a/zenoh/src/sample.rs b/zenoh/src/sample.rs index 083e6fced5..5d707e5936 100644 --- a/zenoh/src/sample.rs +++ b/zenoh/src/sample.rs @@ -112,6 +112,7 @@ mod attachment { /// A builder for [`Attachment`] #[zenoh_macros::unstable] + #[derive(Debug)] pub struct AttachmentBuilder { pub(crate) inner: Vec, }