This week's type of the day is `Result<Option<Result<Bytes>>>`

@jonny Maybe, i just have different errors I need to send for each level. I'm wrapping a read from a channel of io results in a timeout.

@mauve i wanna see this, i am still fumbling around in the baby end of the rust swimming pool where im' not doing anything fancier than pure functions to wrap with pyO3

@mauve
Oh this is a very familiar pattern :). Dang I need to read more live rust instead of book rust because that just makes sense

Follow

@jonny I've mostly been reading the source code of @VeilidNetwork and @n0iroh and filling in my gaps on syntax as I go. The error messages in rustc have been pretty handy (except when they're not :P )

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.