I’m evaluating the change from IResult to Result in nom, hiding away the Incomplete parsing stuff.What do you think?https://github.com/Geal/nom/issues/356 …
Semantically, whether incomplete data is an error is up to the app, so I think it makes sense as is.
-
-
this is my feeling as well. But if I listen to complaints, it looks like I’m the only one reading stuff from a socket :/
-
Isn't there an adapter that maps IResult to Result, treating incomplete as an error?
-
there is one https://github.com/Geal/nom/blob/149a50d586fb8ef4e11a1a46401565031de90676/src/simple_errors.rs#L32-L47 … but it was added recently
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.