Skip to main content

ScanFuture

Type Alias ScanFuture 

Source
pub type ScanFuture<'a> = Pin<Box<dyn Future<Output = Result<ScanResult, String>> + Send + 'a>>;
Expand description

The boxed future an ScannedExcerptSource::scan returns.

Err(reason) skips THIS FILE and the scan continues — one malformed file must not fail the agenda. That is error-parser’s rule, because it is the same failure class.

Aliased Type§

pub struct ScanFuture<'a> { /* private fields */ }