pub fn to_packet_batches<T: Serialize>(
    items: &[T],
    chunk_size: usize
) -> Vec<PacketBatch>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator