Skip to main content

ScanDescribeFuture

Type Alias ScanDescribeFuture 

Source
pub type ScanDescribeFuture<'a> = Pin<Box<dyn Future<Output = String> + Send + 'a>>;
Expand description

The future ScannedExcerptSource::describe returns (OA.22).

Infallible by design. A source that cannot say what it is has nothing to report rather than an error to raise, and the header falls back to the plain form — failing a whole scan because its label did not render would be the tail wagging the dog.

Aliased Type§

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