pub struct DocApiPlan<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiPlan<'a, I>
impl<'a, I: Invoker> DocApiPlan<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn execute<'call>(
&'call self,
params: &'call DocPlanExecuteBoundParams,
) -> impl Future<Output = Result<DocPlanExecuteResult>> + Send + 'call
pub fn execute<'call>( &'call self, params: &'call DocPlanExecuteBoundParams, ) -> impl Future<Output = Result<DocPlanExecuteResult>> + Send + 'call
Execute a compiled batch of plan-safe operation entries with per-entry transactions, capture resolution between entries, and keep-prefix-and-continue failure semantics. Hosts may support atomic: true for all-or-nothing single-commit execution with operation restrictions.
Sourcepub async fn execute_with_options(
&self,
params: &DocPlanExecuteBoundParams,
options: InvokeOptions,
) -> Result<DocPlanExecuteResult>
pub async fn execute_with_options( &self, params: &DocPlanExecuteBoundParams, options: InvokeOptions, ) -> Result<DocPlanExecuteResult>
Execute a compiled batch of plan-safe operation entries with per-entry transactions, capture resolution between entries, and keep-prefix-and-continue failure semantics. Hosts may support atomic: true for all-or-nothing single-commit execution with operation restrictions.
Auto Trait Implementations§
impl<'a, I> Freeze for DocApiPlan<'a, I>
impl<'a, I> RefUnwindSafe for DocApiPlan<'a, I>where
&'a I: RefUnwindSafe,
impl<'a, I> Send for DocApiPlan<'a, I>
impl<'a, I> Sync for DocApiPlan<'a, I>
impl<'a, I> Unpin for DocApiPlan<'a, I>
impl<'a, I> UnsafeUnpin for DocApiPlan<'a, I>where
&'a I: UnsafeUnpin,
impl<'a, I> UnwindSafe for DocApiPlan<'a, I>where
&'a I: UnwindSafe,
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