pub enum ToolRetrySafety {
Never,
ExplicitOnly,
Automatic,
}Expand description
Whether and by whom a failed or interrupted invocation may be retried.
Variants§
Never
The invocation must never be retried automatically or explicitly.
ExplicitOnly
A higher layer may retry only after an explicit informed decision.
Automatic
The runtime may automatically retry a known-safe failure boundary.
Trait Implementations§
Source§impl Clone for ToolRetrySafety
impl Clone for ToolRetrySafety
Source§fn clone(&self) -> ToolRetrySafety
fn clone(&self) -> ToolRetrySafety
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 ToolRetrySafety
Source§impl Debug for ToolRetrySafety
impl Debug for ToolRetrySafety
impl Eq for ToolRetrySafety
Source§impl PartialEq for ToolRetrySafety
impl PartialEq for ToolRetrySafety
impl StructuralPartialEq for ToolRetrySafety
Auto Trait Implementations§
impl Freeze for ToolRetrySafety
impl RefUnwindSafe for ToolRetrySafety
impl Send for ToolRetrySafety
impl Sync for ToolRetrySafety
impl Unpin for ToolRetrySafety
impl UnsafeUnpin for ToolRetrySafety
impl UnwindSafe for ToolRetrySafety
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