Would it be possible to document which async fns and trait methods are cancel-safe? I use tokio-tungstenite methods inside the tokio::select! macro, and it's hard for me to tell if this is a supported use case, or if I may be at risk of losing messages.
For example, tokio documents methods that are cancel safe, and adds a # Cancel safety heading to the method documentation (example).
Would it be possible to document which
async fns and trait methods are cancel-safe? I use tokio-tungstenite methods inside thetokio::select!macro, and it's hard for me to tell if this is a supported use case, or if I may be at risk of losing messages.For example, tokio documents methods that are cancel safe, and adds a
# Cancel safetyheading to the method documentation (example).