Module avalanche_types::ids::node

source ·

Structs

Constants

Functions

Custom deserializer. Use #[serde(deserialize_with = “ids::must_deserialize_id”)] to serde without derive. ref. https://serde.rs/impl-deserialize.html
Custom deserializer. Use #[serde(deserialize_with = “short::must_deserialize_ids”)] to serde with derive. ref. https://serde.rs/impl-deserialize.html
Return a new NodeIdSet with initial capacity [size]. More or less than [size] elements can be added to this set. Using NewNodeIDSet() rather than ids.NodeIDSet{} is just an optimization that can be used if you know how many elements will be put in this set.

Type Definitions