Function write_msg

Source
pub fn write_msg<W, Req, Notif, Resp>(
    out: &mut W,
    msg: RpcMessage<Req, Notif, Resp>,
) -> Result<()>
where W: Write, Req: Serialize, Notif: Serialize, Resp: Serialize,