You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project where I use async_stream for interfacing with an optional crate. I wish to propose a stub for platforms that don't have support for this crate.
The following naive attempt does not work (the compiler tells me I'd rather use unit type as return value), likely because the lack of a yield does not allow the macro to derive an iterm type:
I'm working on a project where I use
async_stream
for interfacing with an optional crate. I wish to propose a stub for platforms that don't have support for this crate.The following naive attempt does not work (the compiler tells me I'd rather use unit type as return value), likely because the lack of a
yield
does not allow the macro to derive an iterm type:How can I achieve that ?
The text was updated successfully, but these errors were encountered: