Modules
ByteBuffer is a struct that represents an array of bytes to be sent over the FFI boundaries.
FFI compatible types for the upload mechanism.
Macros
Define the global handle map, constructor and destructor functions and any user-defined functions for a new metric
Structs
Configuration over FFI.
Enums
The supported metrics’ lifetimes.
Different resolutions supported by the memory related metric types (e.g. MemoryDistributionMetric).
Different resolutions supported by the time related metric types (e.g. DatetimeMetric).
Constants
A HTTP response code.
A recoverable error.
An unrecoverable error.
Functions
Initialize the logging system based on the target platform. This ensures that logging is shown when executing the Glean SDK unit tests.
Initialize the logging system to send JSON messages to a file descriptor (Unix) or file handle (Windows).
Try to unblock the RLB dispatcher to start processing queued tasks.
Safety
Process and free a FfiPingUploadTask
.
Public destructor for strings managed by the other side of the FFI.