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
// The instance id: a node's id and an incarnation the caller guarantees never
// repeats for that node. Every session the instance opens is named after it.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]pubstructInstanceId{pubnode:u64,
pubincarnation:u64,
}