pub fn read_doc<T: Document>( command: &str, host: &dyn Host, path: &str, limit: usize, ) -> Result<T, Done>
Read and parse one document of type T under limit, as invalid_input when it is refused.
T
limit
invalid_input