Trait pg_worm::query::Executable
source · pub trait Executable {
type Output;
// Required method
fn exec<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<Self::Output, Error>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Trait used to mark exectuable queries. It is used to make use of generics for executing them.