pub async fn serialize_async<T: AsyncEncodable + ?Sized>(data: &T) -> Vec<u8> ⓘ
Asynchronously encode an object into a vector.