holochain_serialized_bytes
pub fn encode<T: Serialize + Debug>( val: &T) -> Result<Vec<u8>, SerializedBytesError>