pub trait SQLAggregateFunction: Send + Sync {
// Required method
fn create_state(&self) -> Box<dyn SQLAggregateState>;
}Expand description
Infallible factory retained for existing Rust aggregate implementations.
Every implementation also implements SQLAggregateFactory. A callback
whose state creation can fail implements that fallible interface directly.
Required Methods§
fn create_state(&self) -> Box<dyn SQLAggregateState>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".