pub struct ToolHandle { /* private fields */ }Available on non-WebAssembly only.
Expand description
Type-safe identifier for a tool
Implementations§
Trait Implementations§
Source§impl Clone for ToolHandle
impl Clone for ToolHandle
Source§impl Debug for ToolHandle
impl Debug for ToolHandle
Source§impl Display for ToolHandle
impl Display for ToolHandle
impl Eq for ToolHandle
Source§impl From<&str> for ToolHandle
impl From<&str> for ToolHandle
Source§impl From<String> for ToolHandle
impl From<String> for ToolHandle
Source§impl Hash for ToolHandle
impl Hash for ToolHandle
Source§impl IntoPromptContent for ToolHandle
impl IntoPromptContent for ToolHandle
Source§fn into_prompt_content(self) -> PromptContent
fn into_prompt_content(self) -> PromptContent
Convert self into
PromptContentSource§impl PartialEq for ToolHandle
impl PartialEq for ToolHandle
impl StructuralPartialEq for ToolHandle
Auto Trait Implementations§
impl Freeze for ToolHandle
impl RefUnwindSafe for ToolHandle
impl Send for ToolHandle
impl Sync for ToolHandle
impl Unpin for ToolHandle
impl UnsafeUnpin for ToolHandle
impl UnwindSafe for ToolHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more