Enum FunctionCallingBehavior
pub enum FunctionCallingBehavior {
Blocking,
NonBlocking,
}Expand description
Whether tool calls block model output or run concurrently.
Variants§
Blocking
Model waits for tool response before continuing.
NonBlocking
Model continues generating while tool executes.
Trait Implementations§
§impl Clone for FunctionCallingBehavior
impl Clone for FunctionCallingBehavior
§fn clone(&self) -> FunctionCallingBehavior
fn clone(&self) -> FunctionCallingBehavior
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FunctionCallingBehavior
impl Debug for FunctionCallingBehavior
§impl Default for FunctionCallingBehavior
impl Default for FunctionCallingBehavior
§fn default() -> FunctionCallingBehavior
fn default() -> FunctionCallingBehavior
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for FunctionCallingBehavior
impl<'de> Deserialize<'de> for FunctionCallingBehavior
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallingBehavior, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallingBehavior, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for FunctionCallingBehavior
impl PartialEq for FunctionCallingBehavior
§impl Serialize for FunctionCallingBehavior
impl Serialize for FunctionCallingBehavior
§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 Eq for FunctionCallingBehavior
impl StructuralPartialEq for FunctionCallingBehavior
Auto Trait Implementations§
impl Freeze for FunctionCallingBehavior
impl RefUnwindSafe for FunctionCallingBehavior
impl Send for FunctionCallingBehavior
impl Sync for FunctionCallingBehavior
impl Unpin for FunctionCallingBehavior
impl UnwindSafe for FunctionCallingBehavior
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more