Skip to main content

NamedUniqueSurface

Trait NamedUniqueSurface 

Source
pub trait NamedUniqueSurface: 'static {
    type Sig: Send + Sync + 'static;
    type Provider: ?Sized + Send + Sync + 'static;

    const KIND: SurfaceKind;
}
Expand description

Named-unique family: DashMap<QName, Arc<Entry<K, Sig, P>>>.

One registration per qname; preflight rejects duplicates with PluginError::DuplicateRegistration. Members: Scalar, Aggregate, Window, LocyAggregate, LocyPredicate, Operator, Algorithm, Pregel.

Required Associated Constants§

Source

const KIND: SurfaceKind

Surface discriminant for record keeping.

Required Associated Types§

Source

type Sig: Send + Sync + 'static

The registered signature (e.g. FnSignature, AggSignature); unit when the surface carries no signature (e.g. LocyAggregate).

Source

type Provider: ?Sized + Send + Sync + 'static

The trait-object provider type behind Arc<dyn …>.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§