referrerpolicy=no-referrer-when-downgrade
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§

fn set_config(&self) -> &SetConfig

Get access to the SetConfig of the notification protocol.

fn protocol_name(&self) -> &ProtocolName

Get protocol name.

Implementors§