// Code generated by wit-bindgen-go. DO NOT EDIT.

package outgoinghandler

import (
	"gitea.rebus.ninja/lore/wasm-nats-producer-client/gen/wasi/http/types"
	"github.com/bytecodealliance/wasm-tools-go/cm"
	"unsafe"
)

// ErrorCodeShape is used for storage in variant or result types.
type ErrorCodeShape struct {
	_     cm.HostLayout
	shape [unsafe.Sizeof(types.ErrorCode{})]byte
}

func lower_OptionRequestOptions(v cm.Option[RequestOptions]) (f0 uint32, f1 uint32) {
	some := v.Some()
	if some != nil {
		f0 = 1
		v1 := cm.Reinterpret[uint32](*some)
		f1 = (uint32)(v1)
	}
	return
}
