pub trait ExecuteBlocking<'c, C>where
Self: Sized,{
type ExecuteOutput;
type QueryOutput;
// Required methods
fn execute_blocking(self, cli: &'c C) -> Self::ExecuteOutput;
fn query_blocking(self, cli: &'c C) -> Self::QueryOutput;
}
Expand description
blocking version of Execute
for synchronous environment
Required Associated Types§
type ExecuteOutput
type QueryOutput
Required Methods§
fn execute_blocking(self, cli: &'c C) -> Self::ExecuteOutput
fn query_blocking(self, cli: &'c C) -> Self::QueryOutput
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.