pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "UNSPECIFIED_EXECUTION_FAILURE_CAUSE" => {
                Some(Self::UnspecifiedExecutionFailureCause)
            }
            "HALT_WITH_NON_ZERO_EXIT_CODE" => Some(Self::HaltWithNonZeroExitCode),
            "INVALID_MEMORY_ACCESS" => Some(Self::InvalidMemoryAccess),
            "UNSUPPORTED_SYSCALL" => Some(Self::UnsupportedSyscall),
            "BREAKPOINT" => Some(Self::Breakpoint),
            "EXCEEDED_CYCLE_LIMIT" => Some(Self::ExceededCycleLimit),
            "INVALID_SYSCALL_USAGE" => Some(Self::InvalidSyscallUsage),
            "UNIMPLEMENTED" => Some(Self::Unimplemented),
            "END_IN_UNCONSTRAINED" => Some(Self::EndInUnconstrained),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
crates/sdk/src/network/proto/network.rs