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.
capacity_exhaustionclock_jumpentropy_choicehost_service_failureio_errormachine_crashpacket_delaypacket_losspacket_reorderpartitionprocess_crash
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
Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 11 |
| Version | 26.7.0 |
| Revision | daab053ee433 |