pub struct ResolvedToolExecutionPlan { /* private fields */ }Expand description
Exact execution and deadline plan selected before tool dispatch.
Implementations§
Source§impl ResolvedToolExecutionPlan
impl ResolvedToolExecutionPlan
pub const fn mode(&self) -> ToolExecutionMode
pub fn deadlines(&self) -> &ToolDeadlineChain
pub fn kind(&self) -> &ResolvedExecutionKind
pub fn runner(&self) -> &ToolExecutionApplicability<RunnerIdentity>
pub const fn restart_class(&self) -> ToolExecutionApplicability<RestartClass>
pub const fn idempotency_scope( &self, ) -> ToolExecutionApplicability<IdempotencyScope>
pub fn credential_context_refs( &self, ) -> &ToolExecutionApplicability<Vec<ToolCredentialContextRef>>
pub const fn output_policy( &self, ) -> &ToolExecutionApplicability<ToolOutputPolicy>
pub const fn progress_policy( &self, ) -> &ToolExecutionApplicability<ToolProgressPolicy>
pub fn owner_witness( &self, authority_key: &str, ) -> Option<&ToolExecutionOwnerWitness>
pub fn owner_witnesses(&self) -> &[ToolExecutionOwnerWitness]
Sourcepub fn canonical_arguments_sha256(&self) -> Option<[u8; 32]>
pub fn canonical_arguments_sha256(&self) -> Option<[u8; 32]>
Canonical argument digest bound into this plan at the fenced root resolution seam. Detached execution uses this exact digest for durable submission identity instead of re-canonicalizing arguments later.
pub fn with_owner_witness( self, witness: ToolExecutionOwnerWitness, ) -> Result<Self, ToolExecutionResolutionError>
Trait Implementations§
Source§impl Clone for ResolvedToolExecutionPlan
impl Clone for ResolvedToolExecutionPlan
Source§fn clone(&self) -> ResolvedToolExecutionPlan
fn clone(&self) -> ResolvedToolExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedToolExecutionPlan
impl Debug for ResolvedToolExecutionPlan
impl Eq for ResolvedToolExecutionPlan
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedToolExecutionPlan
impl !UnwindSafe for ResolvedToolExecutionPlan
impl Freeze for ResolvedToolExecutionPlan
impl Send for ResolvedToolExecutionPlan
impl Sync for ResolvedToolExecutionPlan
impl Unpin for ResolvedToolExecutionPlan
impl UnsafeUnpin for ResolvedToolExecutionPlan
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> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.