Function ser_code

Source
fn ser_code<S: Serializer>(kind: &RpcErrorKind, s: S) -> Result<S::Ok, S::Error>
Expand description

Helper: Serialize an RpcErrorKind as a numeric code.