Modules§
Structs§
- Anti
Call Token - Struct used to prevent from calling
terminate_ref
directly - BitSet
- Counting
Writer - 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§
- 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§
- deserialize_
vint_ u128 - Deserializes a u128 number
- 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 - serialize_
vint_ u32 - serialize_
vint_ u128 - Variable int serializes a u128 number
- 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.