pub trait NotificationConfig: Debug {
// Required methods
fn set_config(&self) -> &SetConfig;
fn protocol_name(&self) -> &ProtocolName;
}
Expand description
Trait defining the required functionality from a notification protocol configuration.
Required Methods§
sourcefn set_config(&self) -> &SetConfig
fn set_config(&self) -> &SetConfig
Get access to the SetConfig
of the notification protocol.
sourcefn protocol_name(&self) -> &ProtocolName
fn protocol_name(&self) -> &ProtocolName
Get protocol name.