Function darkfi_serial::serialize_async
source · pub async fn serialize_async<T: AsyncEncodable + ?Sized>(data: &T) -> Vec<u8>
Expand description
Asynchronously encode an object into a vector.
pub async fn serialize_async<T: AsyncEncodable + ?Sized>(data: &T) -> Vec<u8>
Asynchronously encode an object into a vector.