Function load_span_from

Source
pub fn load_span_from<R>(source: R, span: Span) -> Result<String>
where R: Read,
Expand description

Extract span from a Read-able source as String.

ยงErrors

Returns an Error if span describes a impossible range.