1 2 3 4 5 6
// TODO: support streamed codecs pub trait GaussianCloudCodec { fn encode(&self) -> Vec<u8>; fn decode(data: &[u8]) -> Self; }