Skip to main content

ExecuteExt

Trait ExecuteExt 

Source
pub trait ExecuteExt {
    // Provided method
    fn execute<'e, E: PgExecutor<'e>>(
        &self,
        executor: E,
    ) -> impl Future<Output = Result<u64>>
       where Self: WriteStatement { ... }
}
Expand description

The bound is on the method, and the impls are per-builder, for the two reasons LoadExt explains.

Provided Methods§

Source

fn execute<'e, E: PgExecutor<'e>>( &self, executor: E, ) -> impl Future<Output = Result<u64>>
where Self: WriteStatement,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<D, Output> ExecuteExt for DynSelect<D, Output>

Source§

impl<D, Output> ExecuteExt for SetOp<D, Output>

Source§

impl<D, Params, Output> ExecuteExt for Prepared<D, Params, Output>

Source§

impl<D, R: InsertRow> ExecuteExt for Insert<D, R>

Source§

impl<D, Scope, Sel, Outer> ExecuteExt for Select<D, Scope, Sel, Outer>

Source§

impl<D, T: Table> ExecuteExt for Delete<D, T>

Source§

impl<D, T: Table> ExecuteExt for Update<D, T>

Source§

impl<S, Sel> ExecuteExt for Returning<S, Sel>

Implementors§