pub trait SQLTableFunction: Send + Sync {
// Provided methods
fn call(&self, _args: &[Value]) -> Result<SQLTableFunctionResult, SQLError> { ... }
fn call_stream(
&self,
args: &[Value],
) -> Result<SQLTableFunctionStream, SQLError> { ... }
}Expand description
Rust implementation of a SQL table function used in FROM.
Provided Methods§
fn call(&self, _args: &[Value]) -> Result<SQLTableFunctionResult, SQLError>
fn call_stream( &self, args: &[Value], ) -> Result<SQLTableFunctionStream, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".