diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-12 00:43:40 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-12 00:43:40 +0300 |
| commit | 662b292b5b47d0f7df3b19808db746bbc2ecc48c (patch) | |
| tree | df80622739c975eda645acf8754f3331cbdd1c82 /crates/common/src/lib.rs | |
| parent | 3410b54793c3a1808e58d0fae94fb2ebd5f81015 (diff) | |
| download | fparkan-662b292b5b47d0f7df3b19808db746bbc2ecc48c.tar.xz fparkan-662b292b5b47d0f7df3b19808db746bbc2ecc48c.zip | |
feat: обновить методы обработки данных и улучшить обработку ошибок в библиотеке
Diffstat (limited to 'crates/common/src/lib.rs')
| -rw-r--r-- | crates/common/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<()>; } |
