Skip to documentation
SLOP

tiny.machine.CheckpointStorage

Reference tiny.machine CheckpointStorage

Defined in tiny.machine.

Caller-owned metadata for one durable checkpoint.

API (2)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callstiny.machineCheckpointStorage
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/machine/src/checkpoint/owner/state.zig:37

zig
/// Caller-owned metadata for one durable checkpoint. The external layout is/// exactly `storage_bytes` at `storage_alignment`. The caller initializes the/// storage before use. The caller keeps its address and its paired memory image/// alive with unchanged bytes for as long as a handle can be used.pub const Storage = struct {    bytes: [storage_bytes]u8 align(storage_alignment),    /// Hands back checkpoint storage that holds nothing and is ready to be    /// claimed once.    pub fn init() Storage {        var result: Storage = .{ .bytes = @splat(0) };        ownerState(&result).status = std.atomic.Value(u8).init(            @backingInt(Status.empty),        );        return result;    }};

Source: lib/machine/src/root.zig:81

zig
pub const CheckpointStorage = checkpoint.Storage;
Called byCallstest sourcelib.machine.src.checkpoint.owner.statetest: checkpoint recovery discards un...test sourcelib.machine.src.checkpoint.owner.statetest: restore materialization rejects...private sourcelib.machine.src.checkpoint.owner.stateownerStateCheckpointStorageinit
Static calls · unresolved targets: 0 · external targets: 0.

Also reachable as

checkpoint.Storage.

Audit

Definitions2
Public names4
Members1
Version26.7.0
Revisiondaab053ee433