Skip to main content

Mirror

Trait Mirror 

Source
pub trait Mirror: Aggregate {
    type Source: Send + Sync + 'static;
    type Changed: Event;

    // Required method
    fn columns(changed: &Map<String, Value>) -> Result<Vec<SqlValue>>;
}

Required Associated Types§

Source

type Source: Send + Sync + 'static

The source’s contract type, whose Lookup lists the records a new mirror starts from.

Source

type Changed: Event

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§