pub enum ToolIdempotency {
Idempotent,
NonIdempotent,
ExternallyReconciled,
}Expand description
Declared retry semantics of a tool execution.
Variants§
Idempotent
Repeating the invocation is expected to have the same external effect.
NonIdempotent
Repeating the invocation may duplicate external effects.
ExternallyReconciled
Executor can reconcile an operation by a durable external key.
Trait Implementations§
Source§impl Clone for ToolIdempotency
impl Clone for ToolIdempotency
Source§fn clone(&self) -> ToolIdempotency
fn clone(&self) -> ToolIdempotency
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 moreimpl Copy for ToolIdempotency
Source§impl Debug for ToolIdempotency
impl Debug for ToolIdempotency
Source§impl<'de> Deserialize<'de> for ToolIdempotency
impl<'de> Deserialize<'de> for ToolIdempotency
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolIdempotency
Source§impl PartialEq for ToolIdempotency
impl PartialEq for ToolIdempotency
Source§impl Serialize for ToolIdempotency
impl Serialize for ToolIdempotency
impl StructuralPartialEq for ToolIdempotency
Auto Trait Implementations§
impl Freeze for ToolIdempotency
impl RefUnwindSafe for ToolIdempotency
impl Send for ToolIdempotency
impl Sync for ToolIdempotency
impl Unpin for ToolIdempotency
impl UnsafeUnpin for ToolIdempotency
impl UnwindSafe for ToolIdempotency
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