pub enum ToolExecutionMode {
SharedRead,
Exclusive,
Coordinator,
}Expand description
Scheduling contract for an executor, independent of approval and authorization.
Only independent, side-effect-free reads may opt into SharedRead. Unknown
tools and tools that mutate any shared state must keep the exclusive default.
Variants§
Exclusive
Coordinator
Only delegates work; it must not access shared resources itself. Nested concrete operations must acquire the inherited execution barrier.
Trait Implementations§
Source§impl Clone for ToolExecutionMode
impl Clone for ToolExecutionMode
impl Copy for ToolExecutionMode
Source§impl Debug for ToolExecutionMode
impl Debug for ToolExecutionMode
Source§impl Default for ToolExecutionMode
impl Default for ToolExecutionMode
impl Eq for ToolExecutionMode
Source§impl PartialEq for ToolExecutionMode
impl PartialEq for ToolExecutionMode
impl StructuralPartialEq for ToolExecutionMode
Auto Trait Implementations§
impl Freeze for ToolExecutionMode
impl RefUnwindSafe for ToolExecutionMode
impl Send for ToolExecutionMode
impl Sync for ToolExecutionMode
impl Unpin for ToolExecutionMode
impl UnsafeUnpin for ToolExecutionMode
impl UnwindSafe for ToolExecutionMode
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,
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.