Skip to main content

HostExternalSchema

Trait HostExternalSchema 

Source
pub trait HostExternalSchema:
    Send
    + Sync
    + 'static {
    const PACKAGE: &'static str;
    const MODULE: &'static str;
    const NAME: &'static str;
    const PARAMETER_COUNT: usize;
}
Expand description

A source-declared external Gleam type linked to Rust storage.

Required Associated Constants§

Source

const PACKAGE: &'static str

Source

const MODULE: &'static str

Source

const NAME: &'static str

Source

const PARAMETER_COUNT: usize

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§