diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-07 19:37:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-07 19:37:52 +0800 |
| commit | 9e7c0fd45e169929156bdb317b10d7bb3db65f8b (patch) | |
| tree | 94c1e0e6cafe996b7b7da8dfd6e1ff1a04539cda /src/chunker/rw/error.rs | |
| parent | 22926ce29e3f8e040ec349401aeb6a77f32eae72 (diff) | |
Add callback support to chunk_stream_with and implement stream writing
Diffstat (limited to 'src/chunker/rw/error.rs')
| -rw-r--r-- | src/chunker/rw/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chunker/rw/error.rs b/src/chunker/rw/error.rs index 7f263a5..d113b96 100644 --- a/src/chunker/rw/error.rs +++ b/src/chunker/rw/error.rs @@ -34,6 +34,12 @@ pub enum ButckRWErrorKind { #[error("Chunking failed: {0}")] ChunkFailed(#[from] ChunkFailed), + #[error("Chunking process failed: {0}")] + ChunkingFailed(String), + + #[error("Failed to write index file: {0}")] + IndexFileWriteFailed(String), + #[error("IO error: {0}")] IOError(#[from] std::io::Error), } |
