From 34b109fe93b9ac8998a380eb8538f0b1523486e3 Mon Sep 17 00:00:00 2001 From: Flavian Desverne Date: Thu, 6 Jun 2024 16:32:34 +0200 Subject: [PATCH] add comment --- src/sql_read_bytes.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sql_read_bytes.rs b/src/sql_read_bytes.rs index 0bb3e2f5..0455a1ce 100644 --- a/src/sql_read_bytes.rs +++ b/src/sql_read_bytes.rs @@ -154,6 +154,8 @@ macro_rules! bytes_reader { }; } +/// The `SqlReadBytes` trait is used to read bytes from the wire. +// Many of the methods have an `allow(dead_code)` attribute because they are not currently used but they could be anytime in the future. pub(crate) trait SqlReadBytes: AsyncRead + Unpin { // Pretty-print current wire content. #[allow(dead_code)]