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 request_id(&self) -> Option<&RequestId>;
}

Required Methods§

Implementors§