Support returning Result/Option<impl Trait> #126
Labels
A-auto_enum
Area: #[auto_enum]
C-enhancement
Category: A new feature or an improvement for an existing one
I've got a situation where a function returns something like
Result<impl Iterator<Item = &str>, MyError>
, and it would be very useful to be able to useauto_enum
on it. Is this technically possible, or is there perhaps a workaround for it?The text was updated successfully, but these errors were encountered: