pub async fn read_struct<'m, M: Message + Default + 'static, T: ProtoStruct<Proto = M> + TryFrom<M, Error = Error>>( reader: &dyn Reader, pos: usize, ) -> Result<T>
Read a Protobuf-backed struct at file position: pos.
pos