pub struct SignalIndexCache { /* private fields */ }
Expand description

Represents a mapping of 32-bit runtime IDs to 128-bit globally unique measurement IDs. The class additionally provides reverse lookup and an extra mapping to human-readable measurement keys.

Implementations§

Creates a new, empty SignalIndexCache.

Determines if the specified signalindex exists with the SignalIndexCache.

Returns the signal ID Guid for the specified signalindex in the SignalIndexCache.

Gets a set for all the Guid values found in the SignalIndexCache.

Returns the Measurement source string for the specified signalindex in the SignalIndexCache.

Returns the Measurement integer ID for the specified signalindex in the SignalIndexCache.

Record returns the key Measurement values, signal ID Guid, source string, and integer ID and a final boolean value representing find success for the specified signalindex in the SignalIndexCache.

Returns the signal index for the specified signal ID Guid in the SignalIndexCache.

Gets the number of Measurement records that can be found in the SignalIndexCache.

Parses a SignalIndexCache from the specified byte buffer received from a DataPublisher.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.