pub enum ToolRetryDisposition {
Never,
Safe {
after_ms: Option<u64>,
},
Exhausted {
attempts: u32,
},
}Variants§
Trait Implementations§
Source§impl Clone for ToolRetryDisposition
impl Clone for ToolRetryDisposition
Source§fn clone(&self) -> ToolRetryDisposition
fn clone(&self) -> ToolRetryDisposition
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 ToolRetryDisposition
impl Debug for ToolRetryDisposition
Source§impl<'de> Deserialize<'de> for ToolRetryDisposition
impl<'de> Deserialize<'de> for ToolRetryDisposition
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolRetryDisposition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolRetryDisposition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolRetryDisposition
Source§impl PartialEq for ToolRetryDisposition
impl PartialEq for ToolRetryDisposition
Source§fn eq(&self, other: &ToolRetryDisposition) -> bool
fn eq(&self, other: &ToolRetryDisposition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolRetryDisposition
impl Serialize for ToolRetryDisposition
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ToolRetryDisposition
Auto Trait Implementations§
impl Freeze for ToolRetryDisposition
impl RefUnwindSafe for ToolRetryDisposition
impl Send for ToolRetryDisposition
impl Sync for ToolRetryDisposition
impl Unpin for ToolRetryDisposition
impl UnsafeUnpin for ToolRetryDisposition
impl UnwindSafe for ToolRetryDisposition
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