Crate re_log_types
source ·Expand description
The different types that make up the rerun log format.
Feature flags
serde— Enable (de)serialization using serde.
Mono-components
Some components, mostly transform related ones, are “mono-components”. This means that Rerun makes assumptions that depend on this component only taking on a singular value for all instances of an Entity. Where possible, exposed APIs will force these components to be logged as a singular instance or a splat. However, it is an error with undefined behavior to manually use lower-level APIs to log a batched mono-component.
This requirement is especially apparent with transforms:
Each entity must have a unique transform chain,
e.g. the entity foo/bar/baz is has the transform that is the product of
foo.transform * foo/bar.transform * foo/bar/baz.transform.
Re-exports
pub use self::arrow_msg::ArrowMsg;pub use self::time_point::TimeInt;pub use self::time_point::TimePoint;pub use self::time_point::TimeType;pub use self::time_point::Timeline;pub use self::time_point::TimelineName;pub use self::path::*;
Modules
ArrowMsgis thecrate::LogMsgsub-type containing an Arrow payload.- Example components to be used for tests and docs
- Every logged entity in Rerun is logged to an
EntityPath.
Macros
- Build a
EntityPath: - Build a
Vec<EntityPathPart>:
Structs
- The user-chosen name of the application doing the logging.
- A cell’s worth of data, i.e. a uniform array of values for a given component type. This is the leaf type in our data model.
- The actual contents of a
DataCell. - A row’s worth of data, i.e. an event: a list of
DataCells associated with an auto-generatedRowId, a user-specifiedTimePointandEntityPath, and an expected number of instances. This is the middle layer in our data model. - A sparse table’s worth of data, i.e. a batch of events: a collection of
DataRows. This is the top-level layer in our data model. - Implements an asynchronous batcher that coalesces
DataRows intoDataTables based upon the thresholds defined in the associatedDataTableBatcherConfig. - Defines the different thresholds of the associated
DataTableBatcher. - A signed duration represented as nanoseconds since unix epoch
- A 128 bit hash of
Indexwith negligible risk of collision. - Explicit number of instances in a
crate::DataRow. - A unique ID for a
DataRow. - A unique id per store.
- Information about a recording or blueprint.
- A unique ID for a
DataTable. - A date-time represented as nanoseconds since unix epoch
- Either nanoseconds or sequence numbers.
Enums
- An error that can occur because a row in the store has inconsistent columns.
- A problem with a row of data in the store.
- Errors that can occur when creating/manipulating a
DataTableBatcher. - Errors from
data_cells_from_file_path. - The key of a table, or an array index.
- The most general log message sent from the SDK to the server.
- Operation to perform on an
EntityPath, e.g. clearing all components. - What kind of Store this is.
- The source of a recording or blueprint.
Constants
Functions
- Read the file at the given path.