Skip to main content

GleamStdlibHostProfile

Trait GleamStdlibHostProfile 

Source
pub trait GleamStdlibHostProfile: HostComponentProfile<Component<Self::Io>> {
    type Io: IoSink + 'static;
}
Expand description

A host profile that exposes state and storage for the official Gleam standard library.

Required Associated Types§

Source

type Io: IoSink + 'static

The concrete caller-owned sink used by official Gleam IO functions.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§