Function from_doc

Source
pub fn from_doc<T, U>(doc: Document<T>) -> Result<U, Error>
Expand description

Interpret a Document<T> as a type U.