pub trait PreparedCountExt {
// Provided method
fn count<'e, Params, E: PgExecutor<'e>>(
&self,
executor: E,
params: Params,
) -> impl Future<Output = Result<i64>>
where Self: PreparedTotal<Params> { ... }
}Expand description
The bound is on the method, and the impls are per-builder, for the two
reasons LoadExt explains.
Provided Methods§
fn count<'e, Params, E: PgExecutor<'e>>(
&self,
executor: E,
params: Params,
) -> impl Future<Output = Result<i64>>where
Self: PreparedTotal<Params>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".