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>;
}
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>;
}