Expand description
The basic building blocks of the Rerun log format: entity paths, timelines, and store ids.
An entity path names what was logged and a TimePoint on one or more timelines names when.
The messages that carry them between the SDK, an .rrd file, and the viewer live in re_log_msg,
and the data itself is described by re_sdk_types.
§Feature flags
No documented features in Cargo.toml
§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. 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::path::*;
Modules§
- example_
components - Example components to be used for tests and docs
- external
- hash
- path
- Every logged entity in Rerun is logged to an
EntityPath.
Macros§
- entity_
path - Build an
EntityPathfrom parts that are not escaped: - entity_
path_ vec - Build a
Vec<EntityPathPart>: - impl_
into_ enum
Structs§
- Absolute
Time Range - An absolute time range using
TimeInt. - Absolute
Time RangeF - Like
AbsoluteTimeRange, but usingTimeRealfor improved precision. - Application
Id - The user-chosen name of the application doing the logging.
- Duration
- A signed duration represented as nanoseconds since unix epoch
- EntryId
- The id for an entry (i.e. a dataset or a table) in a remote catalog.
- Entry
Name - A validated, non-empty ASCII entry name.
- Index
Window - A symmetric window around a point on an index, as an inclusive half-width in that index’s own units.
- Instance
- A unique numeric index for each individual instance within a batch.
- Invalid
Application IdError - Error returned when constructing an empty
ApplicationId. - Invalid
Entry Name Error - Invalid
Timeline Name Error - Error returned when constructing an invalid
TimelineName. - NonMin
I64 - An integer that is known not to equal its minimum value.
- Recording
Id - The recording id for a recording.
- StoreId
- A unique id per store.
- TableId
- Either the user-chosen name of a table, or an id that is created by the catalog server.
- Time
Cell - An typed cell of an index, e.g. a point in time on some unknown timeline.
- TimeInt
- A 64-bit number describing either nanoseconds, sequence numbers or fully static data.
- Time
Point - A point in time on any number of
Timelines. - Time
Real - Either nanoseconds or sequence numbers.
- Timeline
- A time frame/space, e.g.
log_timeorframe_nr, coupled with the type of time it keeps. - Timeline
Name - The name of a timeline. Often something like
"log_time"or"frame_nr". - Timeline
Point - A point on a timeline
- Timestamp
- Encodes a timestamp in nanoseconds since unix epoch.
- Timestamp
Format - How to display a timestamp.
- TryFrom
IntError - An error type returned when a checked integral type conversion fails (mimics
std::num::TryFromIntError)
Enums§
- Date
Visibility - Controls whether the date part of a timestamp is shown.
- Entry
IdOr Name - Either an
EntryIdor anEntryNamefor an entry. - Store
Kind - What kind of store this is.
- Time
Type - The type of a
TimeIntorcrate::Timeline. - Timestamp
Format Kind - How to display a timestamp.
Traits§
- VecDeque
Insertion Ext - Extends
VecDequewith extra insertion routines. - VecDeque
Removal Ext - Extends
VecDequewith extra removal routines. - VecDeque
Sorting Ext - Extends
VecDequewith extra sorting routines.
Functions§
- build_
frame_ nr - Build a (
Timeline,TimeInt) tuple fromframe_nrsuitable for inserting in aTimePoint. - build_
index_ value - build_
log_ time - Build a (
Timeline,TimeInt) tuple fromlog_timesuitable for inserting in aTimePoint.