pub(crate) fn parse_code(code: usize) -> SafeResultExpand description
Parse the result code
Returns the number of bytes written if the code represents success, or the error message code otherwise.
pub(crate) fn parse_code(code: usize) -> SafeResultParse the result code
Returns the number of bytes written if the code represents success, or the error message code otherwise.