FFIOperatorMetadata

Trait FFIOperatorMetadata 

Source
pub trait FFIOperatorMetadata {
    const NAME: &'static str;
    const API: u32;
    const VERSION: &'static str;
    const DESCRIPTION: &'static str;
    const INPUT_COLUMNS: &'static [OperatorColumnDef];
    const OUTPUT_COLUMNS: &'static [OperatorColumnDef];
    const CAPABILITIES: u32;
}
Expand description

Static metadata about an operator type This trait provides compile-time constant metadata

Required Associated Constants§

Source

const NAME: &'static str

Operator name (must be unique within a library)

Source

const API: u32

API version for FFI compatibility (must match host’s CURRENT_API)

Source

const VERSION: &'static str

Semantic version of the operator (e.g., “1.0.0”)

Source

const DESCRIPTION: &'static str

Human-readable description of the operator

Source

const INPUT_COLUMNS: &'static [OperatorColumnDef]

Input columns describing expected input row format

Source

const OUTPUT_COLUMNS: &'static [OperatorColumnDef]

Output columns describing output row format

Source

const CAPABILITIES: u32

Capabilities bitflags describing supported operations Use CAPABILITY_* constants from reifydb_flow_operator_abi

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§