Skip to main content

drive

Function drive 

Source
pub fn drive(
    session: ExtractSession,
    extractor: &mut dyn Extractor,
    supplier: &mut dyn Supplier,
) -> Result<Vec<DataSet>, DriveError>
Expand description

Runs extractor through session, supplying inputs from supplier, and returns the session’s data sets.

§Errors

DriveError for the first failure of the extractor, the supplier or the session.