Skip to main content

AppendSurface

Trait AppendSurface 

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

    const KIND: SurfaceKind;
}
Expand description

Append family: ArcSwap<Vec<Arc<dyn Provider>>>.

No preflight de-duplication — every registration is appended. Removal is by plugin id (the append-family blanket impl filters the vector by plugin ownership). Members: OptimizerRule, Hook, Auth, Authz, Connector, Trigger, ReplacementScan, BackgroundJob.

Required Associated Constants§

Source

const KIND: SurfaceKind

Surface discriminant.

Required Associated Types§

Source

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

The trait-object provider.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§