Benjamin Saunders

Results 915 comments of Benjamin Saunders

Thanks for the report! I believe this was intended. In particular, the current behavior is described accurately by the rustdoc: > May fail if [and only if] [`finish()`](Self::finish) or [`reset()`](Self::reset)...

> this causes an incoming substream which immediately returns an error Sorry, I don't understand what you're trying to communicate here. > Err(ApplicationClosed(ApplicationClose { error_code: 0, reason: b"" })) This...

`finish` does not close the connection. You calling `close` or dropping all outstanding references to it does. Don't do that until you know it's safe to do so.

This seems useful, but I tend to be wary of features for ash itself that are outside the scope of bindings per se. Maybe something for a support crate?

> Either ash does it once, for all formats, and properly, or every single ash user is going to roll their own spin of this kind of code, which chances...