Skip to main content

NotificationConfig

Trait NotificationConfig 

Source
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§

Source

fn set_config(&self) -> &SetConfig

Get access to the SetConfig of the notification protocol.

Source

fn protocol_name(&self) -> &ProtocolName

Get protocol name.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§