fix: 修复 video 中分 p 下载状态的设置 (#272)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2025-02-19 19:04:51 +08:00
committed by GitHub
parent 395ef0013a
commit a6425f11a2
3 changed files with 43 additions and 28 deletions

View File

@@ -16,6 +16,8 @@ pub enum ExecutionStatus {
Succeeded,
Ignored(anyhow::Error),
Failed(anyhow::Error),
// 任务可以返回该状态固定自己的 status
FixedFailed(u32, anyhow::Error),
}
// 目前 stable rust 似乎不支持自定义类型使用 ? 运算符,只能先在返回值使用 Result再这样套层娃