pub fn codeconvert<O: TryFrom<u8>>(code: u8) -> O
Expand description

Convert one Code to another response Code

If the target code can not express the source code, it is expressed as Internal Server Error (under the assumption that a used successful code could be expressed, and we’re just hitting an exotic error case for which Internal Server Error is a good approximation).