sc_network::service::traits

Trait RequestResponseConfig

Source
pub trait RequestResponseConfig: Debug {
    // Required method
    fn protocol_name(&self) -> &ProtocolName;
}
Expand description

Trait defining the required functionality from a request-response protocol configuration.

Required Methods§

Source

fn protocol_name(&self) -> &ProtocolName

Get protocol name.

Implementors§