Skip to documentation
SLOP

tiny.machine.FaultKind

Reference tiny.machine FaultKind

Defined in tiny.machine.

The eleven fault families a point can name, its fault kind: a machine crash, a process crash, an I/O error, packet loss, packet delay, packet reorder, a partition, a clock jump, an entropy choice, capacity exhaustion, and a host service failure.

API (11)

Fields and members

Public fields and members.

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

Source

Source: lib/machine/src/fault/types.zig:14

zig
/// The eleven fault families a point can name, its fault kind: a machine crash,/// a process crash, an I/O error, packet loss, packet delay, packet reorder, a partition,/// a clock jump, an entropy choice, capacity exhaustion, and a host service failure./// A caller picks one of these to say what sort of failure a point stands for.pub const Kind = enum(u8) {    machine_crash = 1,    process_crash = 2,    io_error = 3,    packet_loss = 4,    packet_delay = 5,    packet_reorder = 6,    partition = 7,    clock_jump = 8,    entropy_choice = 9,    capacity_exhaustion = 10,    host_service_failure = 11,};

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

zig
pub const FaultKind = fault.Kind;

Also reachable as

fault.Kind.

Audit

Definitions1
Public names2
Members11
Version26.7.0
Revisiondaab053ee433