pub trait InsertExt<Out> {
// Required methods
fn execute<'e, E>(self, ex: &'e E) -> BoxFuture<'e, Result<u64, Error>>
where E: Executor + Send + Sync + 'e;
fn one<'e, E>(self, ex: &'e E) -> BoxFuture<'e, Result<Option<Out>, Error>>
where E: Executor + Send + Sync + 'e,
Out: for<'r> FromRow<'r, PgRow> + Send + Unpin + 'e;
}Required Methods§
fn execute<'e, E>(self, ex: &'e E) -> BoxFuture<'e, Result<u64, Error>>
fn one<'e, E>(self, ex: &'e E) -> BoxFuture<'e, Result<Option<Out>, Error>>
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.