Function shell_protocol::messages::error::to_cbor[][src]

pub fn to_cbor(channel_id: u32, message: &str) -> Result<Vec<u8>, ProtocolError>

Error -> CBOR