Rust

mirroring

Module

[Filter]: what a crate::mirror::Mirror runs around the writes it copies to its destination.

Contents

use utopia_database::mirroring::Filter;
Rust
pub trait Filter: Send + Sync

Hooks around the writes a crate::mirror::Mirror copies to its destination: a before* hook may change what is written there (or, for a collection or attribute, what the mirror returns), an after* hook sees what was written. Every hook defaults to passing its input through; an error from one is reported to the mirror's error callbacks like a failed destination write.

Implemented byJsonFilterDatetimeFilterPointFilterLinestringFilterPolygonFilterVectorFilterObjectFilter