Function space_lib::common::serialize

source ·
pub fn serialize<T: Serialize + ?Sized>(data: &T) -> Result<Vec<u8>, SpaceError>