Skip to main content

from_document

Function from_document 

Source
pub fn from_document(
    document: &str,
    described: &str,
    out: &Path,
) -> Result<Generated, Refusal>
Expand description

Generates and writes from a document body — the seam client_ts reaches once it has read --surface. described is how a refusal should name the document (“the document on stdin”, or the path it was read from).

§Errors

Refusal, as client_ts.