Trait sc_network::service::traits::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.

Implementors§