tosc-rs / mgnp

MnemOS Global Networking Protocol
Creative Commons Attribution Share Alike 4.0 International
14 stars 1 forks source link

tricky-pipe: first class error support #29

Closed hawkw closed 8 months ago

hawkw commented 8 months ago

i think the best way to propagate connection RESETs is to stick a first-class notion of "channel closed with error" into tricky-pipe.

also, it would be nice if an attempt to send a message through a DeserSender that results in a deserialize error also sent the deserialize error to the receiver, as well as returning it to the sender...

Originally posted by @hawkw in https://github.com/tosc-rs/mgnp/issues/23#issuecomment-1807192999

hawkw commented 8 months ago

The reset part of this was finished in #31