pub trait CountExt {
// Provided method
fn count<'e, Idx, E: PgExecutor<'e>>(
&self,
executor: E,
) -> impl Future<Output = Result<i64>>
where Self: CountQuery<Idx> { ... }
}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, Idx, E: PgExecutor<'e>>(
&self,
executor: E,
) -> impl Future<Output = Result<i64>>where
Self: CountQuery<Idx>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".