Enum RelayOperation
pub enum RelayOperation {
CallTool,
ListTools,
ListResources,
GetPrompt,
}Variants§
Trait Implementations§
§impl Clone for RelayOperation
impl Clone for RelayOperation
§fn clone(&self) -> RelayOperation
fn clone(&self) -> RelayOperation
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 more§impl Debug for RelayOperation
impl Debug for RelayOperation
§impl PartialEq for RelayOperation
impl PartialEq for RelayOperation
impl Copy for RelayOperation
impl Eq for RelayOperation
impl StructuralPartialEq for RelayOperation
Auto Trait Implementations§
impl Freeze for RelayOperation
impl RefUnwindSafe for RelayOperation
impl Send for RelayOperation
impl Sync for RelayOperation
impl Unpin for RelayOperation
impl UnsafeUnpin for RelayOperation
impl UnwindSafe for RelayOperation
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
Compare self to
key and return true if they are equal.