Re-exports§
pub use json_path_writer::JsonPathWriter;
Modules§
Structs§
- Anti
Call Token - Struct used to prevent from calling
terminate_ref
directly - BitSet
- Byte
Count - Indicates space usage in bytes
- Counting
Writer - Date
Time - A date/time value with nanoseconds precision.
- Owned
Bytes - An OwnedBytes simply wraps an object that owns a slice of data and exposes this data as a slice.
- Read
Only BitSet - Serialized BitSet.
- TinySet
- Tiny
SetIterator - VInt
- Wrapper over a
u64
that serializes as a variable int. - VInt
U128 - Wrapper over a
u128
that serializes as a variable int.
Enums§
- Date
Time Precision - Precision with which datetimes are truncated when stored in fast fields. This setting is only relevant for fast fields. In the docstore, datetimes are always saved with nanosecond precision.
- Endianness
- Defines little-endian serialization.
Traits§
- Binary
Serializable - Trait for a simple binary serialization.
- Deserialize
From - Fixed
Size FixedSize
marks aBinarySerializable
as always serializing to the same size.- Group
ByIterator Extended - HasLen
- Has length trait
- Stable
Deref - An unsafe marker trait for types that deref to a stable address, even when moved. For example, this is implemented by Box, Vec, Rc, Arc and String, among others. Even when a Box is moved, the underlying storage remains at a fixed location.
- Terminating
Write - Trait used to indicate when no more write need to be done on a writer
Functions§
- f64_
to_ u64 - Maps a
f64
tou64
- i64_
to_ u64 - Maps a
i64
tou64
- intersect_
bitsets - read_
u32_ vint - Reads a vint
u32
from a buffer, and consumes its payload data. - read_
u32_ vint_ no_ advance - replace_
in_ place - Replaces a given byte in the
bytes
slice of bytes. - serialize_
vint_ u32 - u64_
to_ f64 - Reverse the mapping given by
f64_to_u64()
. - u64_
to_ i64 - Reverse the mapping given by
i64_to_u64()
. - write_
u32_ vint - Write a
u32
as a vint payload.