Module util

Source
Expand description

Utility functions. These are public because they may be useful for crates that implement Datastore.

Enums§

Component
A byte-serializable value, frequently employed in the keys of key/value store.

Functions§

build
Arguments
extract_count
Extracts a count from the last query output value, or None.
extract_edge_properties
Extracts edge properties from the last query output value, or None.
extract_edges
Extracts edges from the last query output value, or None.
extract_vertex_properties
Extracts vertex properties from the last query output value, or None.
extract_vertices
Extracts vertices from the last query output value, or None.
generate_uuid_v1
Generates a UUID v1. This utility method uses a shared context and node ID to help ensure generated UUIDs are unique.
next_uuid
Gets the next UUID that would occur after the given one.
read_fixed_length_string
Reads a fixed-length string from bytes.
read_identifier
Reads an identifier from bytes.
read_u64
Reads a u64 from bytes.
read_uuid
Reads a UUID from bytes.