pub trait HasNotificationMetadata {
// Required method
fn method(&self) -> &str;
// Provided methods
fn notification_type(&self) -> Option<&str> { ... }
fn requires_ack(&self) -> bool { ... }
}
Expand description
Trait for notification metadata (method, type info)
Required Methods§
Provided Methods§
Sourcefn notification_type(&self) -> Option<&str>
fn notification_type(&self) -> Option<&str>
Optional notification type or category
Sourcefn requires_ack(&self) -> bool
fn requires_ack(&self) -> bool
Whether this notification requires acknowledgment