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. - Recommended settings for the
DataLoader
. - Recursively oads entire directories, using the appropriate
crate::DataLoader
:s for each files within. - A
crate::DataLoader
that forwards the path to load to all executables present in the user’sPATH
with a name that starts withEXTERNAL_DATA_LOADER_PREFIX
. - The contents of a file.
- Loads data from any
rrd
file or in-memory contents.
Enums§
- Errors that might happen when loading data through a
DataLoader
. - Somewhere we can get Rerun data from.
- What
DataLoader
s load.
Constants§
- When an external
crate::DataLoader
is 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
DataLoader
loads data from a file path and/or a file’s contents.
Functions§
on_msg
can 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
DataLoader
s? - Iterator over all registered external
crate::DataLoader
s. - Iterator over all registered
DataLoader
s. - Loads the given
contents
using allcrate::DataLoader
s available. - Loads the given
path
using allcrate::DataLoader
s available. - Register a custom
DataLoader
. - All file extension supported by our builtin
DataLoader
s.