JsonPacketSerializer

Type Alias JsonPacketSerializer 

Source
pub type JsonPacketSerializer<I> = PacketSerializer<JsonPacketFormat<I>>;

Aliased Type§

pub struct JsonPacketSerializer<I> { /* private fields */ }

Implementations§

Source§

impl<I> JsonPacketSerializer<I>

Source

pub fn new( stats: Arc<BatchIteratorConnectionStats>, max_packet_size: u64, items: I, ) -> Self

Source

pub fn new_without_stats(max_packet_size: u64, items: I) -> Self