From impls for errors generally just take some error type and map it into a variant of some podcast error enum. This removes the duplicate impls by using a pattern macro to make the impls from the type of the enum, the given error type, and the desired enum variant. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||