pub struct ToolExecutionOwnerWitness { /* private fields */ }Expand description
Opaque, non-provider-facing witness for the dispatcher owner selected during plan resolution.
A composite dispatcher can attach this witness and require the same live owner/binding object at dispatch. The witness is valid only for the current pre-dispatch resolution flow. It must be discarded on restart, recovery, dispatcher reconstruction, or turn replay; those paths must resolve again. It is not a job fence, attempt token, or durable authority.
Implementations§
Source§impl ToolExecutionOwnerWitness
impl ToolExecutionOwnerWitness
pub fn new( authority_key: impl Into<String>, owner_key: impl Into<String>, binding_fingerprint: EphemeralToolBindingFingerprint, ) -> Result<Self, ToolExecutionDeclarationError>
pub fn owner_key(&self) -> &str
pub const fn binding_fingerprint(&self) -> &EphemeralToolBindingFingerprint
Trait Implementations§
Source§impl Clone for ToolExecutionOwnerWitness
impl Clone for ToolExecutionOwnerWitness
Source§fn clone(&self) -> ToolExecutionOwnerWitness
fn clone(&self) -> ToolExecutionOwnerWitness
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 ToolExecutionOwnerWitness
impl Debug for ToolExecutionOwnerWitness
impl Eq for ToolExecutionOwnerWitness
impl StructuralPartialEq for ToolExecutionOwnerWitness
Auto Trait Implementations§
impl Freeze for ToolExecutionOwnerWitness
impl RefUnwindSafe for ToolExecutionOwnerWitness
impl Send for ToolExecutionOwnerWitness
impl Sync for ToolExecutionOwnerWitness
impl Unpin for ToolExecutionOwnerWitness
impl UnsafeUnpin for ToolExecutionOwnerWitness
impl UnwindSafe for ToolExecutionOwnerWitness
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.