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§
Sourceconst KIND: SurfaceKind
const KIND: SurfaceKind
Surface discriminant.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".