This week's #Rust type of the day is `Result<Option<Result<Bytes>>>`
@mauve
Do u have some fancy macro to unwrap it or somethin
@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.
@jonny Honestly the code is pretty yucky RN since I'm in "meet the deadlines" mode
https://github.com/RangerMauve/veilid-iroh-blobs/blob/default/src/iroh.rs#L168
@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 )
@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