pub trait SqliteFunction:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &str;
fn num_args(&self) -> i32;
// Provided method
fn deterministic(&self) -> bool { ... }
}Expand description
A Rust function that can be registered as a SQLite UDF.
Required Methods§
Provided Methods§
Sourcefn deterministic(&self) -> bool
fn deterministic(&self) -> bool
Whether the function is deterministic.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".