pub enum EffectFamily {
Completion,
Tool,
Embed,
Rerank,
Memory,
Retrieve,
Custom,
}Expand description
Effect classification used by typed binding and recording.
Variants§
Completion
A completion request to a model.
Tool
A tool call.
Embed
A text or image embedding request.
Rerank
A reranking request.
Memory
A conversation-memory operation.
Retrieve
A vector-store retrieval.
Custom
An out-of-tree kind.
Implementations§
Trait Implementations§
Source§impl Clone for EffectFamily
impl Clone for EffectFamily
Source§fn clone(&self) -> EffectFamily
fn clone(&self) -> EffectFamily
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 EffectFamily
Source§impl Debug for EffectFamily
impl Debug for EffectFamily
Source§impl<'de> Deserialize<'de> for EffectFamily
impl<'de> Deserialize<'de> for EffectFamily
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EffectFamily, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EffectFamily, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EffectFamily
impl Display for EffectFamily
impl Eq for EffectFamily
Source§impl Hash for EffectFamily
impl Hash for EffectFamily
Source§impl PartialEq for EffectFamily
impl PartialEq for EffectFamily
Source§impl Serialize for EffectFamily
impl Serialize for EffectFamily
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 EffectFamily
Auto Trait Implementations§
impl Freeze for EffectFamily
impl RefUnwindSafe for EffectFamily
impl Send for EffectFamily
impl Sync for EffectFamily
impl Unpin for EffectFamily
impl UnsafeUnpin for EffectFamily
impl UnwindSafe for EffectFamily
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.