(f, "父类型错误~") } } // 实现std::error::Error Trait,因为有子Error:ChildError,覆盖source()方法,返回Some(err) impl std::error::Error for CustomError { fn ...
確定! 回上一頁