Skip to main content

read_doc

Function read_doc 

Source
pub fn read_doc<T: Document>(
    command: &str,
    host: &dyn Host,
    path: &str,
    limit: usize,
) -> Result<T, Done>
Expand description

Read and parse one document of type T under limit, as invalid_input when it is refused.