pub struct RetainedCtePlan(/* private fields */);Implementations§
Source§impl RetainedCtePlan
impl RetainedCtePlan
pub fn capture( plan: &CtePlan, control: &ProductionControl<'_>, ) -> Result<Self, SQLError>
Sourcepub fn from_produced(
plan: Produced<CtePlan>,
control: &ProductionControl<'_>,
) -> Result<Self, SQLError>
pub fn from_produced( plan: Produced<CtePlan>, control: &ProductionControl<'_>, ) -> Result<Self, SQLError>
Retain an admitted declaration after preparation has attached shared analysis metadata. The Arc payload is admitted separately; reference-count bookkeeping follows the common shared-owner contract.
Methods from Deref<Target = CtePlan>§
Sourcepub fn clone_with_control(
&self,
control: &ProductionControl<'_>,
) -> Result<Produced<Self>, SQLError>
pub fn clone_with_control( &self, control: &ProductionControl<'_>, ) -> Result<Produced<Self>, SQLError>
Copy a complete CTE declaration under the selected allowance and cancellation scopes.
Trait Implementations§
Source§impl AsRef<CtePlan> for RetainedCtePlan
impl AsRef<CtePlan> for RetainedCtePlan
Source§impl Clone for RetainedCtePlan
impl Clone for RetainedCtePlan
Source§impl Debug for RetainedCtePlan
impl Debug for RetainedCtePlan
Source§impl Deref for RetainedCtePlan
impl Deref for RetainedCtePlan
Auto Trait Implementations§
impl !RefUnwindSafe for RetainedCtePlan
impl !UnwindSafe for RetainedCtePlan
impl Freeze for RetainedCtePlan
impl Send for RetainedCtePlan
impl Sync for RetainedCtePlan
impl Unpin for RetainedCtePlan
impl UnsafeUnpin for RetainedCtePlan
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