SigilGuard.Audit.ExecutionResult (SigilGuard v0.2.0)

View Source

Typed execution result for audit events.

Matches the ExecutionResult struct from the sigil-protocol Rust crate (v0.1.5).

Fields

  • :success — whether execution completed successfully
  • :exit_code — process exit code (if applicable)
  • :duration_ms — execution duration in milliseconds
  • :error — error message (if failed)

Example

%SigilGuard.Audit.ExecutionResult{
  success: true,
  exit_code: 0,
  duration_ms: 42,
  error: nil
}

Summary

Types

t()

@type t() :: %SigilGuard.Audit.ExecutionResult{
  duration_ms: non_neg_integer() | nil,
  error: String.t() | nil,
  exit_code: integer() | nil,
  success: boolean() | nil
}