运算符把它们都转换成 anyhow::Error ;另一种是根据任务本身产生的错误,可以使用 ... use thiserror::Error; #[derive(Error, Debug)] pub enum DataStoreError ...
確定! 回上一頁