Crate re_data_source
source ·Expand description
Handles different ways of loading Rerun data, e.g.:
- Over HTTPS
- Over WebSockets
- From disk
Also handles different file types: rrd, images, text files, 3D models, point clouds…
Structs§
- Loads data from any supported file or in-memory contents as native [
re_types::Archetype]s. - Recursively oads entire directories, using the appropriate
crate::DataLoader:s for each files within. - A
crate::DataLoaderthat forwards the path to load to all executables present in the user’sPATHwith a name that starts withEXTERNAL_DATA_LOADER_PREFIX. - The contents of a file.
- Loads data from any
rrdfile or in-memory contents.
Enums§
- Errors that might happen when loading data through a
DataLoader. - Somewhere we can get Rerun data from.
- What
DataLoaders load.
Constants§
- When an external
crate::DataLoaderis asked to load some data that it doesn’t know how to load, it should exit with this exit code. - To register a new external data loader, simply add an executable in your $PATH whose name starts with this prefix.
Traits§
- A
DataLoaderloads data from a file path and/or a file’s contents.
Functions§
on_msgcan be used to wake up the UI thread on Wasm.- Empty string if no extension.
- Is this a supported file extension by any of our builtin
DataLoaders? - Iterator over all registered external
crate::DataLoaders. - Iterator over all registered
DataLoaders. - Loads the given
contentsusing allcrate::DataLoaders available. - Loads the given
pathusing allcrate::DataLoaders available. - Register a custom
DataLoader. - All file extension supported by our builtin
DataLoaders.