From 662b292b5b47d0f7df3b19808db746bbc2ecc48c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Feb 2026 21:43:40 +0000 Subject: feat: обновить методы обработки данных и улучшить обработку ошибок в библиотеке MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/common/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/common/src/lib.rs') diff --git a/crates/common/src/lib.rs b/crates/common/src/lib.rs index bb9e778..69796d3 100644 --- a/crates/common/src/lib.rs +++ b/crates/common/src/lib.rs @@ -31,6 +31,7 @@ impl AsRef<[u8]> for ResourceData<'_> { /// Output sink used by `read_into`/`load_into` APIs. pub trait OutputBuffer { + /// Writes the full payload to the sink, replacing any previous content. fn write_exact(&mut self, data: &[u8]) -> io::Result<()>; } -- cgit v1.2.3