Declare this type in the color.rs file: #[derive(Debug, Fail)] pub enum ColorError ... To create error messages, we added the fail attribute with a display ...
確定! 回上一頁