surrealism-types 0.3.0

Types for Surrealism
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! # surrealism-types
//!
//! Shared types for the Surrealism WASM plugin system.
//!
//! This crate provides:
//!
//! - Function argument marshalling ([`Args`](args::Args)) for converting between typed tuples and
//!   vectors of [`surrealdb_types::Value`].
//! - Error types and utilities ([`SurrealismError`](err::SurrealismError),
//!   [`PrefixErr`](err::PrefixErr)) used across the runtime and guest SDK.

/// Traits for marshalling function arguments to and from [`surrealdb_types::Value`] vectors.
pub mod args;

/// Error handling utilities for prefixing errors with context.
pub mod err;