pub struct CteExecutionContext<'a, S: Clone> {
pub queries: &'a dyn CteBodyExecutor<S>,
pub rewrites: &'a dyn QueryOutputRewriter,
pub routines: &'a dyn RoutineResolution,
pub functions: &'a (dyn EngineHook + Sync),
pub runtime: QueryRuntimeView<'a>,
}Fields§
§queries: &'a dyn CteBodyExecutor<S>§rewrites: &'a dyn QueryOutputRewriter§routines: &'a dyn RoutineResolution§functions: &'a (dyn EngineHook + Sync)§runtime: QueryRuntimeView<'a>Implementations§
Source§impl<S: Clone> CteExecutionContext<'_, S>
impl<S: Clone> CteExecutionContext<'_, S>
Sourcepub fn production_resources(&self) -> Result<OwnedProductionControl, SQLError>
pub fn production_resources(&self) -> Result<OwnedProductionControl, SQLError>
Retain the original query allowance and both cancellation owners for private execution inputs.
Trait Implementations§
impl<S: Clone> Copy for CteExecutionContext<'_, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for CteExecutionContext<'a, S>
impl<'a, S> !UnwindSafe for CteExecutionContext<'a, S>
impl<'a, S> Freeze for CteExecutionContext<'a, S>where
&'a dyn CteBodyExecutor<S>: Freeze,
impl<'a, S> Send for CteExecutionContext<'a, S>where
&'a dyn CteBodyExecutor<S>: Send,
impl<'a, S> Sync for CteExecutionContext<'a, S>where
&'a dyn CteBodyExecutor<S>: Sync,
impl<'a, S> Unpin for CteExecutionContext<'a, S>where
&'a dyn CteBodyExecutor<S>: Unpin,
impl<'a, S> UnsafeUnpin for CteExecutionContext<'a, S>where
&'a dyn CteBodyExecutor<S>: UnsafeUnpin,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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