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

Generation-fenced slot identity; carries no payload ownership. More...

#include <worker_storage.hpp>

Public Member Functions

bool operator== (const WorkerStorageId &) const noexcept=default

Public Attributes

std::uint64_t value {}
 One-based slot number.
std::uint64_t generation {}
 Nonzero registration generation, never reused.

Detailed Description

Generation-fenced slot identity; carries no payload ownership.

Member Function Documentation

◆ operator==()

bool portals::WorkerStorageId::operator== ( const WorkerStorageId & ) const
defaultnoexcept
Returns
True when both slot number and generation are equal.

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