// Code generated by "stringer -type=runMode"; DO NOT EDIT.

package adt

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[ignore-1]
	_ = x[attemptOnly-2]
	_ = x[yield-3]
	_ = x[finalize-4]
}

const _runMode_name = "ignoreattemptOnlyyieldfinalize"

var _runMode_index = [...]uint8{0, 6, 17, 22, 30}

func (i runMode) String() string {
	idx := int(i) - 1
	if i < 1 || idx >= len(_runMode_index)-1 {
		return "runMode(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _runMode_name[_runMode_index[idx]:_runMode_index[idx+1]]
}
