Function lance::io::read_struct_from_buf

source ·
pub fn read_struct_from_buf<M: Message + Default, T: ProtoStruct<Proto = M> + From<M>>(
buf: &Bytes
) -> Result<T>
Expand description

Read a Protobuf-backed struct from a buffer.