pub enum McpEvent {
CallArgumentsDelta,
CallArgumentsDone,
CallInProgress,
CallCompleted,
CallFailed,
ListToolsInProgress,
ListToolsCompleted,
}Expand description
MCP (Model Context Protocol) call events
Variants§
CallArgumentsDelta
CallArgumentsDone
CallInProgress
CallCompleted
CallFailed
ListToolsInProgress
ListToolsCompleted
Implementations§
Source§impl McpEvent
impl McpEvent
pub const CALL_ARGUMENTS_DELTA: &'static str = "response.mcp_call_arguments.delta"
pub const CALL_ARGUMENTS_DONE: &'static str = "response.mcp_call_arguments.done"
pub const CALL_IN_PROGRESS: &'static str = "response.mcp_call.in_progress"
pub const CALL_COMPLETED: &'static str = "response.mcp_call.completed"
pub const CALL_FAILED: &'static str = "response.mcp_call.failed"
pub const LIST_TOOLS_IN_PROGRESS: &'static str = "response.mcp_list_tools.in_progress"
pub const LIST_TOOLS_COMPLETED: &'static str = "response.mcp_list_tools.completed"
pub const fn as_str(&self) -> &'static str
Trait Implementations§
impl Copy for McpEvent
impl Eq for McpEvent
impl StructuralPartialEq for McpEvent
Auto Trait Implementations§
impl Freeze for McpEvent
impl RefUnwindSafe for McpEvent
impl Send for McpEvent
impl Sync for McpEvent
impl Unpin for McpEvent
impl UnwindSafe for McpEvent
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§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> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP