Skip to main content

CachedFastPathHost

Trait CachedFastPathHost 

Source
pub trait CachedFastPathHost<B>: CachedExecutionHost<B> {
    // Required methods
    fn dispatch_fast_path_blocked(&self) -> bool;
    fn dispatch_fast_path_binding_is_nonempty(
        &self,
        plan: &CachedPlanRef<B>,
    ) -> Result<bool>;
    fn dispatch_try_borrowed_param_fast_path(
        &self,
        plan: &CachedPlanRef<B>,
        params: &[Value],
    ) -> Option<Result<Box<dyn QueryResult>>>;
}
Expand description

Cache admission callbacks for the borrowed-parameter fast path.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§