Skip to documentation
SLOP

tiny.trace.CheckpointProvider

Reference tiny.trace CheckpointProvider

Defined in checkpoint.

API (9)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

Source: lib/trace/src/checkpoint.zig:10

zig
pub const Provider = struct {    context: *anyopaque,    capture: CaptureFn,    prepare_restore: PrepareRestoreFn,    commit_restore: CommitRestoreFn,    cancel_restore: CancelRestoreFn,    pub fn captureAlloc(self: Provider, allocator: Allocator) ![]u8 {        return try self.capture(self.context, allocator);    }    pub fn prepareRestoreBytes(self: Provider, bytes: []const u8) !void {        try self.prepare_restore(self.context, bytes);    }    pub fn commitRestore(self: Provider) void {        self.commit_restore(self.context);    }    pub fn cancelRestore(self: Provider) void {        self.cancel_restore(self.context);    }};

Source: lib/trace/src/root.zig:54

zig
pub const CheckpointProvider = checkpoint.Provider;

Audit

Definitions5
Public names10
Members5
Version26.7.0
Revisiondaab053ee433