A no_std, protocol-independent recovery registry: a recovery is a collection of chunks -- log entries or a snapshot's pieces -- and beggar accounts for which have moved, at both ends of a transfer, to completion or to a cancellation for the caller's own reason; its sessions, what each still lacks, and the finished ones it retains can be queried.
// Copyright (c) 2026 Umberto Gotti
// SPDX-License-Identifier: MIT
// A session's name: the instance id that named it, and a count. Ordered as
// the specification orders records: node, incarnation, count.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]pubstructSessionId{pubnode:u64,
pubincarnation:u64,
pubcount:u64,
}