pub trait DirectionalQueryTask: Send {
// Required method
fn execute(
self: Box<Self>,
consumer: Rc<dyn QueryRowConsumer>,
) -> Result<(), SQLError>;
}Expand description
Run one query in the session state prepared by the caller. The session owns its statement gate and snapshot lifetime.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".