Function re_data_loader::load_from_path

source ·
pub fn load_from_path(
    settings: &DataLoaderSettings,
    file_source: FileSource,
    path: &Path,
    tx: &Sender<LogMsg>
) -> Result<(), DataLoaderError>
Expand description

Loads the given path using all crate::DataLoaders available.

A single path might be handled by more than one loader.

Synchronously checks whether the file exists and can be loaded. Beyond that, all errors are asynchronous and handled directly by the crate::DataLoaders themselves (i.e. they’re logged).