pub struct InsertSelectConsumer<S: Clone + 'static> {
pub state: RefCell<InsertSelectConsumerState<S>>,
/* private fields */
}Fields§
§state: RefCell<InsertSelectConsumerState<S>>Implementations§
Source§impl<S: Clone + 'static> InsertSelectConsumer<S>
impl<S: Clone + 'static> InsertSelectConsumer<S>
Source§impl<S: Clone + 'static> InsertSelectConsumer<S>
impl<S: Clone + 'static> InsertSelectConsumer<S>
pub fn new( services: InsertSourceContext<'_, S>, stmt: &InsertPlan, params: &[SQLParam], snapshot_scope: CteScope<S>, identity: &InsertSelectIdentity, conflict_update_columns: &[String], control: &ProductionControl<'_>, ) -> Result<Self, SQLError>
pub fn take_prepared(&self) -> Result<PreparedInsertSelect, SQLError>
Source§impl<S: Clone + 'static> InsertSelectConsumer<S>
impl<S: Clone + 'static> InsertSelectConsumer<S>
pub fn consume( &self, services: InsertSourceContext<'_, S>, source_row: OwnedPhysicalRow, destination: Option<ReturningDestination<'_>>, ) -> Result<QueryConsumerControl, SQLError>
Auto Trait Implementations§
impl<S> !Freeze for InsertSelectConsumer<S>
impl<S> !RefUnwindSafe for InsertSelectConsumer<S>
impl<S> !Sync for InsertSelectConsumer<S>
impl<S> !UnwindSafe for InsertSelectConsumer<S>
impl<S> Send for InsertSelectConsumer<S>
impl<S> Unpin for InsertSelectConsumer<S>
impl<S> UnsafeUnpin for InsertSelectConsumer<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more