Skip to main content

Run

Type Alias Run 

Source
pub type Run<Q, T, E> = Arc<dyn Fn(&Q, &CommitSubscription) -> Result<T, E> + Send + Sync>;
Expand description

One run of the query for a request: it reads on a connection it releases before returning, and hands its reads to the subscription.

Aliased Typeยง

pub struct Run<Q, T, E> { /* private fields */ }