Skip to main content

HasNotificationMeta

Trait HasNotificationMeta 

Source
pub trait HasNotificationMeta {
    // Required method
    fn meta(&self) -> Option<&HashMap<String, Value>>;
}
Expand description

Core MCP protocol types and error handling Exposes Notification.params._meta?. Separate from HasMeta because the schema gives the two sides different carriers: results extend MetaObject with serverInfo, notifications with subscriptionId. One trait returning one type cannot model both.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§