Function ya_service_bus::serialization::to_vec[][src]

pub fn to_vec<T: Serialize>(value: &T) -> Result<Vec<u8>, EncodeError>