pub enum HandlerType {
Tool,
Prompt,
Resource,
}
Expand description
Handler type enumeration
Variants§
Trait Implementations§
Source§impl Clone for HandlerType
impl Clone for HandlerType
Source§fn clone(&self) -> HandlerType
fn clone(&self) -> HandlerType
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 moreSource§impl Debug for HandlerType
impl Debug for HandlerType
Source§impl PartialEq for HandlerType
impl PartialEq for HandlerType
impl Eq for HandlerType
impl StructuralPartialEq for HandlerType
Auto Trait Implementations§
impl Freeze for HandlerType
impl RefUnwindSafe for HandlerType
impl Send for HandlerType
impl Sync for HandlerType
impl Unpin for HandlerType
impl UnwindSafe for HandlerType
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,
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.