Skip to main content

ScanFuture

Type Alias ScanFuture 

Source
pub type ScanFuture = Pin<Box<dyn Future<Output = Result<Vec<DirEntry>, ScanError>> + Send + 'static>>;
Expand description

The future that runs a ScanJob to completion.

Send + 'static because the widget hands this off to iced::Task::perform, which requires both.

Aliased Typeยง

pub struct ScanFuture { /* private fields */ }