Trait McpMessage

Source
pub trait McpMessage {
    // Required methods
    fn is_response(&self) -> bool;
    fn is_request(&self) -> bool;
    fn is_notification(&self) -> bool;
    fn is_error(&self) -> bool;
    fn message_type(&self) -> MessageTypes;
}

Required Methods§

Implementors§