Skip to main content

Crate geam

Crate geam 

Source

Modules§

embedding
Statically typed Rust calls into plain or hosted Gleam code.
frontend
gleam_json
gleam_stdlib
gleam_time
host
plan
planner
provider
runtime

Structs§

BitArrayExpr
BitArrayLocalId
BitArrayValue
BitArrayValueLengthError
BoolExpr
BoolLocalId
CustomFieldValue
CustomType
CustomTypeName
CustomValue
EchoOutput
EchoSite
ExecutionPlan
ExecutionPlanExplanation
Expr
ExternalType
ExternalTypeDefinition
ExternalTypeName
ExternalValue
ExternalValueIdentity
FunctionTemplate
FunctionTemplateId
FunctionType
FunctionValue
HostCall
HostCallCompletion
A typed value completed by one active crate::HostCall.
HostCallError
HostCallSite
HostCallable
A call-scoped Gleam function with an exact typed signature.
HostConstruction
Permission to construct one exact host type during the active host call.
HostConstructions
Call-scoped construction capabilities registered for one host function.
HostCustom
A call-scoped ordinary Gleam custom value with a validated custom schema.
HostCustomConstructorAt
A constructor selected at Index from Custom’s sealed constructor list.
HostCustomConstructorList
One custom constructor definition followed by the remaining definitions.
HostCustomConstructorListEnd
The end of an ordered custom constructor list.
HostCustomConstructorSchema
The source-facing schema of one custom constructor.
HostCustomFieldList
One custom field definition followed by the remaining definitions.
HostCustomFieldListEnd
The end of an ordered custom field list.
HostCustomFieldSchema
The source-facing schema of one custom constructor field.
HostCustomIndex0
The first position in a custom constructor list.
HostCustomIndexNext
The position following Index in a custom constructor list.
HostCustomType
An ordinary Gleam custom type and its concrete type arguments.
HostCustomTypeArgument
One type argument from the ordinary custom schema currently being defined.
HostCustomTypeSchema
The source-facing schema of an ordinary custom type.
HostError
HostExternal
A call-scoped external Gleam value with profile-owned Rust storage.
HostExternalEquality
Gleam source equality for values retained by an external payload.
HostExternalHashing
Gleam source hashing for values retained by an external payload.
HostExternalInspection
Canonical inspection for values retained by an external payload.
HostExternalPayloadBuilder
The active-call builder used to retain Gleam values in a new payload.
HostExternalPayloadView
An immutable external payload view that can restore its retained values.
HostExternalStore
HostExternalType
A source-declared external type and its concrete type arguments.
HostExternalTypeSchema
The source-facing identity of one registered external type.
HostFailure
HostFunctionSchema
HostFunctionTemplate
HostFunctionType
The host ABI type for a Gleam function with a recursive argument sequence.
HostList
A call-scoped Gleam list with the statically declared Item ABI type.
HostListType
The host ABI type for List(Item).
HostModule
HostOrigin
HostProviderConfiguration
Owned, read-only configuration supplied to one provider component.
HostProviderInitializationError
Failure to initialize one statically selected provider component.
HostProviderModule
HostProviderSet
HostSpecializationError
HostStoredDynamic
An existential Gleam value retained with its exact specialized type.
HostStoredType
A stored value selected by a stable external type-argument position.
HostStoredValue
A typed Gleam value retained by one external payload.
HostTuple
A call-scoped Gleam tuple described by a recursive host type sequence.
HostTupleType
The host ABI type for a tuple whose elements are a super::HostTypeList.
HostTypeIndex0
The first position in a recursive host type sequence.
HostTypeIndexNext
A position after Index in a recursive host type sequence.
HostTypeList
One element followed by the remainder of a recursive host type sequence.
HostTypeListEnd
The end of a recursive host type sequence.
HostTypeParameter
A generic parameter in a host function’s Gleam type scheme.
HostValue
A call-scoped value whose concrete runtime family is selected by Type.
HostedExecution
HostedModulePlan
HostedPlannedModule
HostedTypedProgram
IntExpr
IntLocalId
List
A retained, read-only view of one Gleam List(Item) value.
ListValue
ListValueItemTypeMismatch
ModuleId
ModulePlan
ModuleSource
NilExpr
NilLocalId
PackageSource
Panic
PanicSite
Param
PlannedModule
RequiredHostFunction
SourceContext
SourceSpan
StatelessHostProfile
Step
StringExpr
StringLocalId
TypedProgram
ValueInspection

Enums§

BitArraySegmentPanicReason
EchoLocation
ExecutionError
ExternalTypeProviderLinkReason
FrontendError
HostLocation
HostProviderConfigurationValue
Portable value families accepted by provider component configuration.
HostProviderLinkReason
HostRegistrationError
HostSchemaType
A recursive source-facing type used while validating custom schemas.
HostSpecializationErrorReason
InvariantError
LocalId
PanicDetails
PanicKind
PanicMessage
ParamBinding
PlanError
ProjectError
Value
ValueType

Traits§

EchoSink
FallibleHostFunction
HostComponentProfile
Projects one provider component from a statically generated host profile.
HostCustomConstructor
A constructor proven to occur in the declared schema for Custom.
HostCustomConstructorDefinition
The source name and ordered fields of one custom constructor.
HostCustomField
The source label and type expression of one custom constructor field.
HostCustomSchema
The complete source schema for one ordinary Gleam custom type.
HostExternalBinding
Selects a provider-owned external storage adapter for one source schema.
HostExternalSchema
A source-declared external Gleam type linked to Rust storage.
HostExternalStorage
Provider-owned storage and Gleam source semantics for one external schema.
HostFunction
A Rust function that can be registered as a Geam host function.
HostProfile
HostProvider
HostProviderComponent
A statically composed Rust provider component.
HostProviderComponentInitialization
Initializes one provider component from explicit read-only configuration.
HostProviderComponentRegistration
Registers the source-backed provider modules exported by one component.
HostType
A type accepted by the scoped host ABI.
HostTypeAt
Selects one type from a recursive host type sequence by position.
HostTypeSequence
A sealed recursive sequence of scoped host ABI types.
ScopedConstructingHostFunction
A scoped host function with statically registered intermediate value types.
ScopedDivergingHostFunction
ScopedHostFunction

Functions§

compile_typed_host_program
compile_typed_host_project
Compiles the selected import closure of an already resolved Gleam project with explicit Rust host modules and source providers.
compile_typed_module
compile_typed_package_program
compile_typed_program
compile_typed_project
plan_host_program
plan_module
plan_module_with_source
plan_program
required_host_functions
run_main

Attribute Macros§

custom
external
function
module
provider