We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CloseBuilder
1 parent c50717f commit 3d9f8e1Copy full SHA for 3d9f8e1
zenoh/src/api/builders/close.rs
@@ -27,6 +27,7 @@ use zenoh_runtime::ZRuntime;
27
// NOTE: `Closeable` is only pub(crate) because it is zenoh-internal trait, so we don't
28
// care about the `private_bounds` lint in this particular case.
29
#[allow(private_bounds)]
30
+#[must_use = "Resolvables do nothing unless you resolve them using `.await` or `zenoh::Wait::wait`"]
31
pub struct CloseBuilder<TCloseable: Closeable> {
32
closee: TCloseable::TClosee,
33
timeout: Duration,
0 commit comments