Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::NodeId Struct Reference

Owning identity, independent of addresses; zero is never a live identity. More...

#include <widget_types.hpp>

Public Member Functions

bool operator== (const NodeId &other) const noexcept=default
 Compare identity.

Public Attributes

std::uint64_t session {}
 Process-unique tree session.
std::size_t slot {}
 Registry position, not sibling order.
std::uint64_t generation {}
 Reuse generation; exhausted slots retire.

Detailed Description

Owning identity, independent of addresses; zero is never a live identity.

Member Function Documentation

◆ operator==()

bool portals::NodeId::operator== ( const NodeId & other) const
defaultnoexcept

Compare identity.

Parameters
otherTree identity to compare.
Returns
True when all compared fields are equal.

The documentation for this struct was generated from the following file: